diff --git a/tests/Feature/Livewire/Auth/LoginTest.php b/tests/Feature/Livewire/Auth/LoginTest.php index abcc375..e7d0980 100644 --- a/tests/Feature/Livewire/Auth/LoginTest.php +++ b/tests/Feature/Livewire/Auth/LoginTest.php @@ -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() @@ -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();