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