From f9f072a13b9b55921e46cbc734d2aa059e166427 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 18 Jan 2021 22:33:51 +0100 Subject: [PATCH] Update CartTest.php --- tests/CartTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/CartTest.php b/tests/CartTest.php index 7cd167e..56f8b45 100644 --- a/tests/CartTest.php +++ b/tests/CartTest.php @@ -365,7 +365,10 @@ class CartTest extends TestCase $cart = $this->getCart(); - $cart->add(new BuyableProduct()); + $cart->add(new BuyableProduct([ + 'name' => null, + 'title' => null + )); $cart->update('027c91341fd5cf4d2579b49c4b6a90da', ['description' => 'Different description']);