Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #295

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading