BFR removed test which expects throw
This commit is contained in:
parent
7478f69bcf
commit
620c0824de
|
|
@ -28,17 +28,6 @@ class CartFacadeTest extends TestCase
|
||||||
$this->assertInstanceOf(CartModel::class, $cart);
|
$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 */
|
/** @test */
|
||||||
public function it_can_get_cart_for_specific_user()
|
public function it_can_get_cart_for_specific_user()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue