Update CartTest.php

This commit is contained in:
Patrick
2022-02-05 20:29:57 +01:00
committed by GitHub
parent 6664cb8834
commit b1a40c96e3

View File

@@ -218,9 +218,7 @@ class CartTest extends TestCase
$cart = $this->getCart();
$options = ['size' => 'XL', 'color' => 'red'];
$cart->add(new BuyableProduct(), 1, $options);
$cart->add(new BuyableProduct(), 1, new CartItemOptions(['size' => 'XL', 'color' => 'red']));
$cartItem = $cart->get('07d5da5550494c62daf9993cf954303f');