Skip to content

Commit 37d9f6c

Browse files
committed
MC-20508: Api-functional tests for Product prices including FPT
- fix test to support multitests
1 parent bcb8a54 commit 37d9f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

4343
$product = $product->loadByAttribute('sku', 'simple-with-ftp');
44-
if ($product->getId()) {
44+
if ($product && $product->getId()) {
4545
$product->setFixedProductAttribute(
4646
[['website_id' => 0, 'country' => 'US', 'state' => 0, 'price' => 10.00, 'delete' => '']]
4747
)->save();

0 commit comments

Comments
 (0)