mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 23:25:23 +00:00
Fixed Logout event in test for 5.1->5.7
This commit is contained in:
@@ -917,7 +917,7 @@ class CartTest extends TestCase
|
|||||||
|
|
||||||
$user = Mockery::mock(Authenticatable::class);
|
$user = Mockery::mock(Authenticatable::class);
|
||||||
|
|
||||||
event(new Logout(\Auth::guard('web'), $user));
|
\Auth::guard('web')->logout();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @test */
|
/** @test */
|
||||||
|
|||||||
Reference in New Issue
Block a user