mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update CartTest.php
This commit is contained in:
@@ -1428,7 +1428,7 @@ class CartTest extends TestCase
|
||||
// check item price total
|
||||
$this->assertEquals(190, $cartItem->priceTotal);
|
||||
// check that the sum of cart subvalues matches the total (in order to avoid cart summary to looks wrong)
|
||||
$this->assertEquals($cart->total(), $cart->subtotal()->add($cart->tax());
|
||||
$this->assertEquals($cart->total(), $cart->subtotal()->add($cart->tax()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user