Skip to content

Commit 4d41c25

Browse files
author
Cody Nguyen
committed
Add configFixture to test condition
1 parent e5479dd commit 4d41c25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogInventory/ProductOnlyXLeftInStockTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,13 @@ public function testQueryProductOnlyXLeftInStockEnabled()
6565
}
6666

6767
/**
68-
* @magentoApiDataFixture Magento/Catalog/_files/product_simple_out_of_stock.php
68+
* @magentoApiDataFixture Magento/Catalog/_files/product_simple_out_of_stock_without_categories.php
69+
* @magentoConfigFixture default_store cataloginventory/options/stock_threshold_qty 120
6970
* @magentoConfigFixture default_store cataloginventory/options/show_out_of_stock 1
7071
*/
7172
public function testQueryProductOnlyXLeftInStockOutstock()
7273
{
73-
$productSku = 'simple-out-of-stock';
74+
$productSku = 'simple';
7475

7576
$query = <<<QUERY
7677
{

0 commit comments

Comments
 (0)