mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 07:05:23 +00:00
Update CartTest.php
This commit is contained in:
@@ -1394,7 +1394,7 @@ class CartTest extends TestCase
|
||||
$cart->setGlobalTax(22);
|
||||
|
||||
// check net price
|
||||
$this->assertEquals(81.97, round($cartItem->priceNet, 2));
|
||||
$this->assertEquals(new Money(81.97, new Currency('USD')), $cartItem->priceNet);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
||||
Reference in New Issue
Block a user