Skip to content

Commit c9f050a

Browse files
committed
MAGETWO-61095: When attempting to place a reorder after a product is disabled, product still gets added to the cart
1 parent 12aa4ed commit c9f050a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/_files/product_simple.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,4 @@
225225
);
226226

227227
$productRepositoryFactory->getById(1, false, null, true);
228+
$productRepositoryFactory->get('simple', false, null, true);

dev/tests/integration/testsuite/Magento/Quote/_files/disabled_product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
->setAttributeSetId(4)
1414
->setWebsiteIds([1])
1515
->setName('Simple Product')
16-
->setSku('simple')
16+
->setSku('simple-99')
1717
->setPrice(10)
1818
->setWeight(1)
1919
->setShortDescription("Short description")

0 commit comments

Comments
 (0)