Skip to content

Commit 28f5700

Browse files
committed
MC-20508: Api-functional tests for Product prices including FPT
- fix test to support multitests
1 parent c70222d commit 28f5700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Weee/_files/product_with_fpt_rollback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class);
1616

1717
$product = $product->loadByAttribute('sku', 'simple-with-ftp');
18-
if ($product->getId()) {
18+
if ($product && $product->getId()) {
1919
$product->delete();
2020
}
2121

0 commit comments

Comments
 (0)