Skip to content

Commit 59767b0

Browse files
committed
fix tests
1 parent 14ea622 commit 59767b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Auth/AuthGuardTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ public function testLoginOnceFailure()
593593
public function testForgetUserSetsUserToNull()
594594
{
595595
$user = m::mock(Authenticatable::class);
596-
$guard = $this->getGuard()->setUser($user);
596+
$guard = $this->getGuard();
597+
$guard->setUser($user);
597598
$guard->forgetUser();
598599
$this->assertNull($guard->getUser());
599600
}

0 commit comments

Comments
 (0)