From 68ba7e70f419a9a81ca67e29363da137fcf38c75 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 18 Jan 2021 22:45:59 +0100 Subject: [PATCH] Update CartTest.php --- tests/CartTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/CartTest.php b/tests/CartTest.php index df74864..4e3f6b4 100644 --- a/tests/CartTest.php +++ b/tests/CartTest.php @@ -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']);