Update CartTest.php

This commit is contained in:
Patrick
2022-02-05 20:49:42 +01:00
committed by GitHub
parent 3fc64e8c79
commit c61610d22d

View File

@@ -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()));
}
/**