mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +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);
|
||||
|
||||
event(new Logout(\Auth::guard('web'), $user));
|
||||
\Auth::guard('web')->logout();
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
||||
Reference in New Issue
Block a user