Skip to content

Commit 2f851aa

Browse files
committed
AC-15054: Product Add to Cart issue in Rest API
1 parent f4f04df commit 2f851aa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Quote/Test/Unit/Plugin/Webapi/ValidateProductWebsiteAssignmentTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ public function testBeforeSaveProductWebsiteIdsNotArray()
245245
$quoteId = 1;
246246
$storeId = 1;
247247
$productId = 123;
248-
$websiteId = 1;
249248
$productWebsiteIds = null; // Not an array
250249

251250
$this->cartItemMock->expects($this->once())
@@ -399,8 +398,6 @@ public function testBeforeSaveEmptyWebsiteIds()
399398
$quoteId = 1;
400399
$storeId = 1;
401400
$productId = 123;
402-
$websiteId = 1;
403-
$productWebsiteIds = []; // Empty array
404401

405402
$this->cartItemMock->expects($this->once())
406403
->method('getSku')

0 commit comments

Comments
 (0)