Skip to content

Commit a172c46

Browse files
committed
MC-31920: Let Magento\Framework\Lock\Backend\Database have 2 locks in single connection
- Rollback changes as DummyLocker is now primary lock manager instead of DB lock manager for integration tests;
1 parent 93be4dd commit a172c46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/Store/App/Config/Source/InitialConfigSourceTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ protected function setUp()
7070
$this->config = $this->loadConfig();
7171
$this->envConfig = $this->loadEnvConfig();
7272
$this->loadDumpConfig();
73+
$this->storeManager->reinitStores();
7374
}
7475

7576
/**
@@ -99,8 +100,6 @@ public function testGetWebsites(array $websites, string $defaultWebsite, bool $o
99100
// remove application environment config for emulate work without db
100101
$this->clearConfig(ConfigFilePool::APP_ENV);
101102
}
102-
// reinit stores to get correct updated config
103-
$this->storeManager->reinitStores();
104103
$this->assertEquals($defaultWebsite, $this->storeManager->getWebsite()->getCode());
105104
$this->assertEquals($websites, array_keys($this->storeManager->getWebsites(true, true)), '', 0.0, 10, true);
106105
}

0 commit comments

Comments
 (0)