File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
api-functional/testsuite/Magento/Catalog/Api
integration/testsuite/Magento/GroupedProduct/Pricing/Price Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 99
1010use Magento \TestFramework \TestCase \WebapiAbstract ;
1111
12+ /**
13+ * Class ProductTierPriceManagementTest
14+ *
15+ * @package Magento\Catalog\Api
16+ */
1217class ProductTierPriceManagementTest extends WebapiAbstract
1318{
1419 const SERVICE_NAME = 'catalogProductTierPriceManagementV1 ' ;
Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ public function testFinalPriceWithTierPrice()
4141
4242 /** @var $simpleProduct \Magento\Catalog\Api\Data\ProductInterface */
4343 $ simpleProduct = $ productRepository ->get ('simple ' );
44- $ simpleProduct ->setTierPrices ([
45- $ tierPrice
46- ]);
44+ $ simpleProduct ->setTierPrices (
45+ [
46+ $ tierPrice
47+ ]
48+ );
4749 $ productRepository ->save ($ simpleProduct );
4850
4951 /** @var $product \Magento\Catalog\Model\Product */
You can’t perform that action at this time.
0 commit comments