Skip to content

Commit 53eb74a

Browse files
Shradha JainShradha Jain
authored andcommitted
AC-6672::set the Quantity for the product for correct tier pricing-Test Fixes
1 parent d3af3da commit 53eb74a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogCustomer/PriceTiersTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ public function testProductTierPricesAreCorrectlyReturned()
147147
if (in_array($item['sku'], $productsWithTierPrices)) {
148148
$this->assertCount(1, $response['products']['items'][$key]['price_tiers']);
149149
} else {
150-
if(empty($response['products']['items'][$key]['price_tiers']))
150+
if(empty($response['products']['items'][$key]['price_tiers'])) {
151151
$this->assertCount(0, $response['products']['items'][$key]['price_tiers']);
152+
}
152153
}
153154
}
154155
}

0 commit comments

Comments
 (0)