Skip to content

Commit

Permalink
Refetch user to accomodate the new feature of invalidating all sessions.
Browse files Browse the repository at this point in the history
Non-breaking change.
  • Loading branch information
DCzajkowski committed Mar 30, 2019
1 parent b84cd83 commit 0ebbb93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/stubs/tests/Feature/Auth/LoginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public function testRememberMeFunctionality()
'remember' => 'on',
]);

$user = $user->fresh();

$response->assertRedirect($this->successfulLoginRoute());
$response->assertCookie(Auth::guard()->getRecallerName(), vsprintf('%s|%s|%s', [
$user->id,
Expand Down

0 comments on commit 0ebbb93

Please sign in to comment.