Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfa9da7

Browse files
committed
Update AuthenticationTest.php
1 parent 4ac620f commit dfa9da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Auth/AuthenticationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ public function test_users_are_rate_limited()
5757
$user = User::factory()->create();
5858

5959
for ($i = 0; $i < 5; $i++) {
60-
$this->post(route('login'), [
60+
$this->post(route('login.store'), [
6161
'email' => $user->email,
6262
'password' => 'wrong-password',
6363
])->assertStatus(302)->assertSessionHasErrors([
6464
'email' => 'These credentials do not match our records.',
6565
]);
6666
}
6767

68-
$response = $this->post(route('login'), [
68+
$response = $this->post(route('login.store'), [
6969
'email' => $user->email,
7070
'password' => 'wrong-password',
7171
]);

0 commit comments

Comments
 (0)