Update CartTest.php

This commit is contained in:
Patrick
2022-02-05 20:54:29 +01:00
committed by GitHub
parent b5e58d0d88
commit 747de2039d

View File

@@ -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);