Skip to content

Commit

Permalink
ISSUE-337: changelog + test
Browse files Browse the repository at this point in the history
  • Loading branch information
tatevikg1 committed Dec 14, 2024
1 parent bb9d7d7 commit 0968a38
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Fixed
- Security update for symfony/symfony and symfony/dependency-injection (#86)


## 5.0.0-alpha1

### Changed
- php version 8.1

## 4.0.0-alpha2

### Added
Expand Down
31 changes: 16 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions tests/System/HttpEndpoints/WebFrontEndTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ public function testHomepageReturnsSuccess()

public function testHomepageReturnsContent()
{
self::getClient()->request('get', '/');
self::getClient()->request('get', '/api/v2');
$response = self::getClient()->getResponse();

self::assertNotEmpty(json_decode(self::getClient()->getResponse()->getContent(), true));
self::assertNotEmpty($response->getContent());
}
}

0 comments on commit 0968a38

Please sign in to comment.