mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Codestyle
This commit is contained in:
@@ -1155,7 +1155,7 @@ class CartTest extends TestCase
|
|||||||
// https://github.com/bumbummen99/LaravelShoppingcart/pull/5
|
// https://github.com/bumbummen99/LaravelShoppingcart/pull/5
|
||||||
$cart = $this->getCart();
|
$cart = $this->getCart();
|
||||||
|
|
||||||
$cartItem = $cart->add('293ad', 'Product 1', 1, 9.99, 550, ['size' => 'large']);
|
$cartItem = $cart->add('293ad', 'Product 1', 1, 9.99, 550, ['size' => 'large']);
|
||||||
|
|
||||||
$this->assertEquals(550, $cartItem->weight);
|
$this->assertEquals(550, $cartItem->weight);
|
||||||
$this->assertTrue($cartItem->options->has('size'));
|
$this->assertTrue($cartItem->options->has('size'));
|
||||||
|
|||||||
Reference in New Issue
Block a user