mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update CartTest.php
This commit is contained in:
@@ -1423,7 +1423,7 @@ class CartTest extends TestCase
|
|||||||
$cart->setGlobalTax(22);
|
$cart->setGlobalTax(22);
|
||||||
|
|
||||||
// check total
|
// check total
|
||||||
$this->assertEquals('254,12', $cart->total());
|
$this->assertEquals(new Money('254.12', new Currency('USD')), $cart->total());
|
||||||
|
|
||||||
// check item price total
|
// check item price total
|
||||||
$this->assertEquals(190, $cartItem->priceTotal);
|
$this->assertEquals(190, $cartItem->priceTotal);
|
||||||
|
|||||||
Reference in New Issue
Block a user