diff --git a/tests/Feature/Auth/AuthenticationTest.php b/tests/Feature/Auth/AuthenticationTest.php index 316a4f4..21478c4 100644 --- a/tests/Feature/Auth/AuthenticationTest.php +++ b/tests/Feature/Auth/AuthenticationTest.php @@ -11,7 +11,7 @@ ]); $this->assertAuthenticated(); - $response->assertNoContent(); + $response->assertRedirect('/dashboard'); }); test('users can not authenticate with invalid password', function () { @@ -31,5 +31,5 @@ $response = $this->actingAs($user)->post('/logout'); $this->assertGuest(); - $response->assertNoContent(); + $response->assertRedirect('/'); });