Update CartTest.php

This commit is contained in:
Patrick
2022-02-05 20:42:32 +01:00
committed by GitHub
parent f0a1e79440
commit a88ac7575e

View File

@@ -1014,20 +1014,6 @@ class CartTest extends TestCase
$this->assertEquals(11.90, $cartItem->total(2));
}
/** @test */
public function it_will_destroy_the_cart_when_the_user_logs_out_and_the_config_setting_was_set_to_true()
{
$this->app['config']->set('cart.destroy_on_logout', true);
$this->app->instance(SessionManager::class, Mockery::mock(SessionManager::class, function ($mock) {
$mock->shouldReceive('forget')->once()->with('cart');
}));
$user = Mockery::mock(Authenticatable::class);
\Auth::guard('web')->logout();
}
/** @test */
public function can_change_tax_globally()
{