We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac620f commit dfa9da7Copy full SHA for dfa9da7
tests/Feature/Auth/AuthenticationTest.php
@@ -57,15 +57,15 @@ public function test_users_are_rate_limited()
57
$user = User::factory()->create();
58
59
for ($i = 0; $i < 5; $i++) {
60
- $this->post(route('login'), [
+ $this->post(route('login.store'), [
61
'email' => $user->email,
62
'password' => 'wrong-password',
63
])->assertStatus(302)->assertSessionHasErrors([
64
'email' => 'These credentials do not match our records.',
65
]);
66
}
67
68
- $response = $this->post(route('login'), [
+ $response = $this->post(route('login.store'), [
69
70
71
0 commit comments