Style CI fixes

This commit is contained in:
Norris Oduro
2020-11-15 06:47:38 +00:00
parent 369bdb95f3
commit 7afec5d171

View File

@@ -1502,8 +1502,8 @@ class CartTest extends TestCase
$cart = $this->getCart(); $cart = $this->getCart();
$cart->add(new BuyableProduct(1, 'first item', 1000), 5); $cart->add(new BuyableProduct(1, 'first item', 1000), 5);
$this->assertEquals("5,000.00", $cart->priceTotal()); $this->assertEquals('5,000.00', $cart->priceTotal());
$this->assertEquals("5,000.0000", $cart->priceTotal(4, ".", ",")); $this->assertEquals('5,000.0000', $cart->priceTotal(4, '.', ','));
} }
/** @test */ /** @test */
@@ -1522,6 +1522,5 @@ class CartTest extends TestCase
$cart->erase($identifier); $cart->erase($identifier);
Event::assertDispatched('cart.erased'); Event::assertDispatched('cart.erased');
$this->assertDatabaseMissing('shoppingcart', ['identifier' => $identifier, 'instance' => Cart::DEFAULT_INSTANCE]); $this->assertDatabaseMissing('shoppingcart', ['identifier' => $identifier, 'instance' => Cart::DEFAULT_INSTANCE]);
} }
} }