Update CartTest.php

This commit is contained in:
Patrick
2021-01-18 22:45:59 +01:00
committed by GitHub
parent 65ed1a1469
commit 68ba7e70f4

View File

@@ -346,7 +346,9 @@ class CartTest extends TestCase
$cart = $this->getCart();
$cart->add(new BuyableProduct());
$cart->add(new BuyableProduct([
'description' => 'Description'
]));
$cart->update('027c91341fd5cf4d2579b49c4b6a90da', new BuyableProduct([
'description' => 'Different description',
@@ -366,8 +368,7 @@ class CartTest extends TestCase
$cart = $this->getCart();
$cart->add(new BuyableProduct([
'name' => '',
'title' => '',
'description' => 'Description'
]));
$cart->update('027c91341fd5cf4d2579b49c4b6a90da', ['description' => 'Different description']);