Skip to content

Commit f5859ee

Browse files
author
Yevhen Miroshnychenko
authored
MCLOUD-5897: Fix functional test of ece-tools (magento#727)
1 parent f8fbb55 commit f5859ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Test/Functional/Acceptance/BackupDbCest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,23 @@ private function partRunDbDumpWithoutSplitDbArch(CliTester $I)
9797
// Running database dump command with unavailable database label
9898
$I->runDockerComposeCommand('run deploy cloud-deploy');
9999

100-
$I->runDockerComposeCommand('run deploy ece-command db-dump quote');
100+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n quote');
101101
$I->seeInOutput(
102102
'CRITICAL: Environment does not have connection `checkout` associated with database `quote`'
103103
);
104104

105-
$I->runDockerComposeCommand('run deploy ece-command db-dump sales');
105+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n sales');
106106
$I->seeInOutput(
107107
'CRITICAL: Environment does not have connection `sales` associated with database `sales`'
108108
);
109109

110-
$I->runDockerComposeCommand('run deploy ece-command db-dump quote sales');
110+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n quote sales');
111111
$I->seeInOutput(
112112
'CRITICAL: Environment does not have connection `checkout` associated with database `quote`'
113113
);
114114

115115
// Running database dump command without database label (by default)
116-
$I->runDockerComposeCommand('run deploy ece-command db-dump');
116+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n');
117117
$I->seeInOutput(array_merge(
118118
$this->expectedLogs,
119119
[
@@ -148,7 +148,7 @@ private function partRunDbDumpWithSplitDbArch(CliTester $I)
148148
$I->runDockerComposeCommand('run deploy cloud-deploy');
149149

150150
// Running database dump command without database labels (by default)
151-
$I->runDockerComposeCommand('run deploy ece-command db-dump');
151+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n');
152152
$I->seeInOutput(array_merge(
153153
$this->expectedLogs,
154154
[
@@ -162,7 +162,7 @@ private function partRunDbDumpWithSplitDbArch(CliTester $I)
162162
));
163163

164164
// Running database dump command with database labels
165-
$I->runDockerComposeCommand('run deploy ece-command db-dump quote sales');
165+
$I->runDockerComposeCommand('run deploy ece-command db-dump -n quote sales');
166166
$I->seeInOutput(array_merge(
167167
$this->expectedLogs,
168168
[

0 commit comments

Comments
 (0)