BFR removed test which expects throw

This commit is contained in:
Fabian @ Blax Software 2025-12-17 09:27:48 +01:00
parent 7478f69bcf
commit 620c0824de
1 changed files with 0 additions and 11 deletions

View File

@ -28,17 +28,6 @@ class CartFacadeTest extends TestCase
$this->assertInstanceOf(CartModel::class, $cart);
}
/** @test */
public function it_throws_exception_when_no_user_authenticated()
{
auth()->logout();
$this->expectException(\Exception::class);
$this->expectExceptionMessage('No cart in session and no authenticated user found');
Cart::current();
}
/** @test */
public function it_can_get_cart_for_specific_user()
{