mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Mod test
This commit is contained in:
@@ -527,6 +527,7 @@ class CartTest extends TestCase
|
||||
$cartItem = $cart->get('027c91341fd5cf4d2579b49c4b6a90da');
|
||||
$this->assertEquals(0.21, $cartItem->taxRate);
|
||||
$this->assertEquals(0.21, $cartItem->taxRate);
|
||||
$this->assertEquals(new Money(210, $cartItem->price->getCurrency()), $cartItem->tax());
|
||||
|
||||
$content = $cart->content();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user