Skip to content

Commit 7e91889

Browse files
committed
MAGETWO-56541: Integration test coverage
1 parent e2c195f commit 7e91889

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
]
4646
);
4747
/** @var $tpExtensionAttributes */
48-
$tpExtensionAttributesFactory = $objectManager->create(ProductTierPriceExtensionFactory::class);
49-
$tpExtensionAttributes = $tpExtensionAttributesFactory->create()->setPercentageValue(50);
5048

5149
$tierPrices[] = $tierPriceFactory->create(
5250
[
@@ -55,7 +53,7 @@
5553
'qty' => 10
5654
]
5755
]
58-
)->setExtensionAttributes($tpExtensionAttributes);
56+
);
5957

6058
$tierPrices = [];
6159
/** @var \Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory $tierPriceFactory */
@@ -87,18 +85,14 @@
8785
]
8886
]
8987
);
90-
/** @var $tpExtensionAttributes */
91-
$tpExtensionAttributesFactory = $objectManager->create(ProductTierPriceExtensionFactory::class);
92-
$tpExtensionAttributes = $tpExtensionAttributesFactory->create()->setPercentageValue(50);
93-
9488
$tierPrices[] = $tierPriceFactory->create(
9589
[
9690
'data' => [
9791
'customer_group_id' => \Magento\Customer\Model\Group::NOT_LOGGED_IN_ID,
9892
'qty' => 10
9993
]
10094
]
101-
)->setExtensionAttributes($tpExtensionAttributes);
95+
);
10296

10397
/** @var $product \Magento\Catalog\Model\Product */
10498
$product = $objectManager->create(\Magento\Catalog\Model\Product::class);

0 commit comments

Comments
 (0)