Skip to content

Commit ac1c426

Browse files
author
carstenpfeifer
committed
magento-engcom#101: Use unique string for SKU.
1 parent 91f0b53 commit ac1c426

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/functional/tests/app/Magento/CatalogUrlRewrite/Test/TestCase/CreateDuplicateUrlProductEntity.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ public function testCreate(
9393
)->run();
9494

9595
for ($index = 0; $index < 2; $index++) {
96-
// Duplicate product
96+
// Duplicate product - need to supply unique SKU
97+
$product->setSku($product->getSku() . $index);
9798
$productGrid->open();
9899
$productGrid->getGridPageActionBlock()->addProduct('simple');
99100
$newProductPage->getProductForm()->fill($product, null, $category);

0 commit comments

Comments
 (0)