mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Style CI fixes
This commit is contained in:
@@ -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]);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user