From 574b2820c4608f60c719817603723ccb619de2d4 Mon Sep 17 00:00:00 2001 From: Steffen Mahler Date: Tue, 28 Jan 2020 16:32:55 +0100 Subject: [PATCH] fix simple product in cartcest --- tests/functional/Checkout/Cart/CartCest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/functional/Checkout/Cart/CartCest.php b/tests/functional/Checkout/Cart/CartCest.php index 1bed0318d..db20d49f0 100644 --- a/tests/functional/Checkout/Cart/CartCest.php +++ b/tests/functional/Checkout/Cart/CartCest.php @@ -31,8 +31,7 @@ class CartCest { Cart::addProduct($this->productWithQuantityBox->id, [ '_token' => session('_token'), - 'product_id' => $this->productWithoutQuantityBox->id, - 'links' => $this->productWithoutQuantityBox->downloadable_links->pluck('id')->all(), + 'product_id' => $this->productWithQuantityBox->id, 'quantity' => 1, ]);