Skip to content

Commit 55e1fb0

Browse files
committed
ISSUE-337: changelog + test
1 parent bb9d7d7 commit 55e1fb0

File tree

4 files changed

+26
-41
lines changed

4 files changed

+26
-41
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1616
### Fixed
1717
- Security update for symfony/symfony and symfony/dependency-injection (#86)
1818

19+
20+
## 5.0.0-alpha1
21+
22+
### Changed
23+
- php version 8.1
24+
1925
## 4.0.0-alpha2
2026

2127
### Added

composer.json

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,6 @@
2222
"role": "Former developer"
2323
}
2424
],
25-
"repositories": [
26-
{
27-
"type": "path",
28-
"url": "../core",
29-
"options": {
30-
"symlink": true
31-
}
32-
},
33-
{
34-
"type": "path",
35-
"url": "../rest-api",
36-
"options": {
37-
"symlink": true
38-
}
39-
},
40-
{
41-
"type": "path",
42-
"url": "../web-frontend",
43-
"options": {
44-
"symlink": true
45-
}
46-
}
47-
],
4825
"support": {
4926
"issues": "https://github.com/phpList/base-distribution/issues",
5027
"forum": "https://discuss.phplist.org/",
@@ -109,7 +86,7 @@
10986
},
11087
"extra": {
11188
"branch-alias": {
112-
"dev-ISSUE-337": "v5.0.x-dev"
89+
"dev-ISSUE-337": "5.0.x-dev"
11390
},
11491
"symfony-app-dir": "bin",
11592
"symfony-bin-dir": "bin",

composer.lock

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/System/HttpEndpoints/WebFrontEndTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ public function testHomepageReturnsSuccess()
4444

4545
public function testHomepageReturnsContent()
4646
{
47-
self::getClient()->request('get', '/');
47+
self::getClient()->request('get', '/api/v2');
48+
$response = self::getClient()->getResponse();
4849

49-
self::assertNotEmpty(json_decode(self::getClient()->getResponse()->getContent(), true));
50+
self::assertNotEmpty($response->getContent());
5051
}
5152
}

0 commit comments

Comments
 (0)