Skip to content

Commit

Permalink
#28569: Multi-store: Missing store codes in relation to a group and w…
Browse files Browse the repository at this point in the history
…ebsite

- Static code and test fixes
  • Loading branch information
gallyamov committed Jul 1, 2020
1 parent 362b81a commit 78ea7b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@

namespace Magento\GraphQl\Store;

use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Store\Api\Data\StoreConfigInterface;
use Magento\Store\Api\StoreConfigManagerInterface;
use Magento\Store\Api\StoreRepositoryInterface;
use Magento\Store\Api\StoreResolverInterface;
use Magento\Store\Model\ScopeInterface;
use Magento\TestFramework\Helper\Bootstrap;
use Magento\TestFramework\ObjectManager;
use Magento\TestFramework\TestCase\GraphQlAbstract;
Expand Down Expand Up @@ -88,8 +86,6 @@ public function testGetStoreConfig(): void
*/
private function validateStoreConfig($storeConfig, $responseConfig): void
{
/* @var $scopeConfig ScopeConfigInterface */
$scopeConfig = $this->objectManager->get(ScopeConfigInterface::class);
$this->assertEquals($storeConfig->getId(), $responseConfig['id']);
$this->assertEquals($storeConfig->getCode(), $responseConfig['code']);
$this->assertEquals($storeConfig->getLocale(), $responseConfig['locale']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function testGetStoreConfigs()
$expectedKeys = [
'id',
'code',
'name',
'website_id',
'locale',
'base_currency_code',
Expand Down

0 comments on commit 78ea7b8

Please sign in to comment.