Skip to content

Commit 33d07de

Browse files
committed
magento/graphql-ce#167: Add support for '@magentoConfigFixture' annotation on API-functional tests
1 parent e284c7f commit 33d07de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-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
@@ -55,7 +55,7 @@ protected function _assignConfigData(TestCase $test)
5555
foreach ($annotations['method'][$this->annotation] as $configPathAndValue) {
5656
if (preg_match('/^.+?(?=_store\s)/', $configPathAndValue, $matches)) {
5757
/* Store-scoped config value */
58-
$storeCode = $matches[0] != 'current' ? $matches[0] : null;
58+
$storeCode = $matches[0];
5959
$parts = preg_split('/\s+/', $configPathAndValue, 3);
6060
list($configScope, $configPath, $requiredValue) = $parts + ['', '', ''];
6161
$originalValue = $this->_getConfigValue($configPath, $storeCode);

0 commit comments

Comments
 (0)