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:
@@ -525,7 +525,7 @@ class CartTest extends TestCase
|
||||
]));
|
||||
|
||||
$cartItem = $cart->get('027c91341fd5cf4d2579b49c4b6a90da');
|
||||
$this->assertEquals(0.21, $cartItem->taxRate);
|
||||
$this->assertEquals(0.21, config('cart.tax'));
|
||||
$this->assertEquals(0.21, $cartItem->taxRate);
|
||||
$this->assertEquals(new Money(1000, $cartItem->price->getCurrency()), $cartItem->price());
|
||||
$this->assertEquals(new Money(1000, $cartItem->price->getCurrency()), $cartItem->subtotal());
|
||||
|
||||
Reference in New Issue
Block a user