From 747de2039dae89eaab0556284825ccaf148dfa86 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 5 Feb 2022 20:54:29 +0100 Subject: [PATCH] Update CartTest.php --- tests/CartTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CartTest.php b/tests/CartTest.php index a18e15d..840cf5f 100644 --- a/tests/CartTest.php +++ b/tests/CartTest.php @@ -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);