Skip to content

Commit 78ea7b8

Browse files
committed
#28569: Multi-store: Missing store codes in relation to a group and website
- Static code and test fixes
1 parent 362b81a commit 78ea7b8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Store/StoreConfigResolverTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@
77

88
namespace Magento\GraphQl\Store;
99

10-
use Magento\Framework\App\Config\ScopeConfigInterface;
1110
use Magento\Framework\Exception\NoSuchEntityException;
1211
use Magento\Store\Api\Data\StoreConfigInterface;
1312
use Magento\Store\Api\StoreConfigManagerInterface;
1413
use Magento\Store\Api\StoreRepositoryInterface;
1514
use Magento\Store\Api\StoreResolverInterface;
16-
use Magento\Store\Model\ScopeInterface;
1715
use Magento\TestFramework\Helper\Bootstrap;
1816
use Magento\TestFramework\ObjectManager;
1917
use Magento\TestFramework\TestCase\GraphQlAbstract;
@@ -88,8 +86,6 @@ public function testGetStoreConfig(): void
8886
*/
8987
private function validateStoreConfig($storeConfig, $responseConfig): void
9088
{
91-
/* @var $scopeConfig ScopeConfigInterface */
92-
$scopeConfig = $this->objectManager->get(ScopeConfigInterface::class);
9389
$this->assertEquals($storeConfig->getId(), $responseConfig['id']);
9490
$this->assertEquals($storeConfig->getCode(), $responseConfig['code']);
9591
$this->assertEquals($storeConfig->getLocale(), $responseConfig['locale']);

dev/tests/api-functional/testsuite/Magento/Store/Api/StoreConfigManagerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function testGetStoreConfigs()
4343
$expectedKeys = [
4444
'id',
4545
'code',
46+
'name',
4647
'website_id',
4748
'locale',
4849
'base_currency_code',

0 commit comments

Comments
 (0)