Skip to content

Commit 68a9d96

Browse files
author
Cody Nguyen
committed
Fix B2B static test
1 parent c0cb7d6 commit 68a9d96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ public function testQueryProductOnlyXLeftInStockOutstock()
106106
$productSku = 'simple';
107107
$showOutOfStock = $this->scopeConfig->getValue(Configuration::XML_PATH_SHOW_OUT_OF_STOCK);
108108

109-
110-
$this->resourceConfig->saveConfig(Configuration::XML_PATH_SHOW_OUT_OF_STOCK,
109+
$this->resourceConfig>saveConfig(
110+
\Magento\CatalogInventory\Model\Configuration::XML_PATH_SHOW_OUT_OF_STOCK,
111111
1,
112-
ScopeConfigInterface::SCOPE_TYPE_DEFAULT);
112+
ScopeConfigInterface::SCOPE_TYPE_DEFAULT
113+
);
113114
$this->reinitConfig->reinit();
114115

115116
$query = <<<QUERY

0 commit comments

Comments
 (0)