Skip to content

Commit 9776a93

Browse files
MC-38765: Ensure there are no split db specific tests
- change method name
1 parent 67f053a commit 9776a93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dev/tests/setup-integration/framework/Magento/TestFramework/Deploy/ShardingConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public function __construct(ConfigWriter $configWriter, ConfigReader $configRead
3535
}
3636

3737
/**
38-
* Add sharding database connection to env file
38+
* Apply sharding database connection to env file
3939
*/
40-
public function addConfiguration()
40+
public function applyConfiguration()
4141
{
4242
$allDbData = include TESTS_INSTALLATION_DB_CONFIG_FILE;
4343
$config = $this->configReader->load(ConfigFilePool::APP_ENV);

dev/tests/setup-integration/testsuite/Magento/Setup/ShardingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function setUp(): void
6767
*/
6868
public function testInstall()
6969
{
70-
$this->shardingConfig->addConfiguration();
70+
$this->shardingConfig->applyConfiguration();
7171
$this->cliCommand->install(['Magento_TestSetupDeclarationModule2']);
7272
$this->deploymentConfig->resetData();
7373

@@ -87,7 +87,7 @@ public function testInstall()
8787
*/
8888
public function testUpgrade()
8989
{
90-
$this->shardingConfig->addConfiguration();
90+
$this->shardingConfig->applyConfiguration();
9191
$this->cliCommand->install(['Magento_TestSetupDeclarationModule2']);
9292
$this->deploymentConfig->resetData();
9393
$this->cliCommand->upgrade();

0 commit comments

Comments
 (0)