Skip to content

Commit 727a5e9

Browse files
committed
B2B-2258: Add caching capability to the storeConfig GraphQl query
1 parent d7cf053 commit 727a5e9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/Annotation/ApiConfigFixture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private function inheritConfig(
203203
]
204204
];
205205
$objectManager = Bootstrap::getObjectManager();
206-
if ($scopeType === ScopeInterface::SCOPE_STORE && $scopeCode !== null) {
206+
if ($scopeType === ScopeInterface::SCOPE_STORES && $scopeCode !== null) {
207207
$store = $objectManager->get(StoreRepositoryInterface::class)->get($scopeCode)->getId();
208208
$configData['store'] = $store;
209209
} elseif ($scopeType === ScopeInterface::SCOPE_WEBSITES && $scopeCode !== null) {

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/ReorderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ protected function setUp(): void
5656
} catch (NoSuchEntityException $e) {
5757
}
5858
}
59+
5960
/**
6061
* @magentoApiDataFixture Magento/Sales/_files/customer_order_item_with_product_and_custom_options.php
6162
*/

0 commit comments

Comments
 (0)