Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 048876e

Browse files
Formatting
1 parent ac560cd commit 048876e

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
@@ -90,10 +90,10 @@ public function test_users_can_logout()
9090
{
9191
$user = User::factory()->create();
9292

93-
$response = $this->actingAs($user)->post('/logout');
93+
$response = $this->actingAs($user)->post(route('logout'));
9494

9595
$this->assertGuest();
96-
$response->assertRedirect('/');
96+
$response->assertRedirect(route('home'));
9797
}
9898

9999
public function test_users_are_rate_limited()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /