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:
@@ -1423,7 +1423,7 @@ class CartTest extends TestCase
|
||||
$cart->setGlobalTax(22);
|
||||
|
||||
// check total
|
||||
$this->assertEquals('254,12', $cart->total());
|
||||
$this->assertEquals(new Money('254.12', new Currency('USD')), $cart->total());
|
||||
|
||||
// check item price total
|
||||
$this->assertEquals(190, $cartItem->priceTotal);
|
||||
|
||||
Reference in New Issue
Block a user