This commit is contained in:
Patrick Henninger
2020-01-18 17:29:06 +01:00
parent 1503f99dae
commit 7b29fe376d
2 changed files with 5 additions and 4 deletions

View File

@@ -1310,8 +1310,8 @@ class CartTest extends TestCase
} }
/** @test */ /** @test */
public function it_use_correctly_rounded_values_for_totals_and_cart_summary() { public function it_use_correctly_rounded_values_for_totals_and_cart_summary()
{
$this->setConfigFormat(2, ',', ''); $this->setConfigFormat(2, ',', '');
$cart = $this->getCartDiscount(6); $cart = $this->getCartDiscount(6);
@@ -1346,6 +1346,7 @@ class CartTest extends TestCase
* Get an instance of the cart with discount. * Get an instance of the cart with discount.
* *
* @param int $discount * @param int $discount
*
* @return \Gloudemans\Shoppingcart\Cart * @return \Gloudemans\Shoppingcart\Cart
*/ */
private function getCartDiscount($discount = 50) private function getCartDiscount($discount = 50)