Skip to content

Commit

Permalink
Push the new LoginTest because the previous commit did not recognised…
Browse files Browse the repository at this point in the history
… the modification.
  • Loading branch information
hackedhorizon committed Aug 4, 2024
1 parent 5ace5cb commit 7d0fb92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Feature/Livewire/Auth/LoginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function test_component_throttles_login_attempts(): void
* 3. Set the user identifier according to the created user.
* 4. Set the user password to an invalid value.
* 5. Trigger the login method.
* 6. Assert that the error message is present in the Livewire component response and there is no redirect.
* 6. Assert that there is no redirect.
* 7. Ensure the user is not authenticated.
*/
public function test_user_can_not_login_with_wrong_password()
Expand All @@ -228,7 +228,6 @@ public function test_user_can_not_login_with_wrong_password()
->set('identifier', $user->email)
->set('password', '123456')
->call('login')
->assertHasErrors()
->assertNoRedirect();

$this->assertGuest();
Expand Down

0 comments on commit 7d0fb92

Please sign in to comment.