Skip to content

Commit

Permalink
Update ItemTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack committed Nov 28, 2023
1 parent 48c40bf commit cc01ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$item = new CartItem($product, quantity: 2),
);

expect(get_class($item))->toImplement(\Ozdemir\Aurora\Contracts\CartItemInterface::class)
expect($item)->toBeInstanceOf(\Ozdemir\Aurora\Contracts\CartItemInterface::class)
->and(Cart::quantity())->toBe(2)
->and(Cart::isEmpty())->toBeFalse();

Expand Down

0 comments on commit cc01ff7

Please sign in to comment.