Skip to content

Commit

Permalink
Fix tests (#295)
Browse files Browse the repository at this point in the history
This will:
- title
  • Loading branch information
jskowronski39 authored Oct 12, 2023
2 parents c3d64fa + c3c7525 commit 024df13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ protected function setUp(): void

/**
* @test
* @dataProvider registeredUsersDataProvider
*/
public function createAttendanceAction_validApiKey_returnsSuccessfulResponse(): void
{
Expand All @@ -49,7 +48,6 @@ public function createAttendanceAction_validApiKey_returnsSuccessfulResponse():

/**
* @test
* @dataProvider registeredUsersDataProvider
*/
public function createAttendanceAction_invalidApiKey_returnsForbiddenResponse(): void
{
Expand All @@ -71,7 +69,6 @@ public function createAttendanceAction_invalidApiKey_returnsForbiddenResponse():

/**
* @test
* @dataProvider registeredUsersDataProvider
*/
public function createAttendanceAction_duplicatedEntry_returnsUnprocessableEntityResponse(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/Controller/Home/MissionsActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function setUp(): void
/**
* @test
*/
public function missionsUsAction_anonymousUser_returnsSuccessfulResponse(): void
public function missionsAction_anonymousUser_returnsSuccessfulResponse(): void
{
$crawler = $this->client->request(Request::METHOD_GET, RouteEnum::HOME_MISSIONS);

Expand All @@ -48,7 +48,7 @@ public function missionsUsAction_anonymousUser_returnsSuccessfulResponse(): void
* @test
* @dataProvider registeredUsersDataProvider
*/
public function missionsUsAction_authenticatedUser_returnsSuccessfulResponse(string $userId): void
public function missionsAction_authenticatedUser_returnsSuccessfulResponse(string $userId): void
{
$user = $this->userRepository->find($userId);

Expand Down

0 comments on commit 024df13

Please sign in to comment.