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 ac560cd commit 048876eCopy full SHA for 048876e
tests/Feature/Auth/AuthenticationTest.php
@@ -90,10 +90,10 @@ public function test_users_can_logout()
90
{
91
$user = User::factory()->create();
92
93
- $response = $this->actingAs($user)->post('/logout');
+ $response = $this->actingAs($user)->post(route('logout'));
94
95
$this->assertGuest();
96
- $response->assertRedirect('/');
+ $response->assertRedirect(route('home'));
97
}
98
99
public function test_users_are_rate_limited()
0 commit comments