Skip to content

Commit 8bfbc77

Browse files
jalogutihor-sviziev
authored andcommitted
Fix failing tests
1 parent 2631805 commit 8bfbc77

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/code/Magento/Deploy/Console/Command/App/ApplicationDumpCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ protected function configure()
7676
$this->addArgument(
7777
self::INPUT_CONFIG_TYPES,
7878
InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
79-
sprintf('Space-separated list of config types or omit to dump all [%s]',
80-
implode(', ', $this->configTypes))
79+
sprintf('Space-separated list of config types or omit to dump all [%s]', implode(', ', $this->configTypes))
8180
);
8281
parent::configure();
8382
}

app/code/Magento/Deploy/Test/Unit/Console/Command/ApplicationDumpCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function testExport()
130130
->method('writeln')
131131
->withConsecutive(
132132
[['system' => 'Some comment message']],
133-
['<info>Done.</info>']
133+
['<info>Done. Config types dumped: system</info>']
134134
);
135135

136136
$method = new \ReflectionMethod(ApplicationDumpCommand::class, 'execute');

dev/tests/integration/testsuite/Magento/Deploy/Console/Command/App/ApplicationDumpCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function testExecute()
176176
->with(['system' => $comment]);
177177
$outputMock->expects($this->at(1))
178178
->method('writeln')
179-
->with('<info>Done.</info>');
179+
->with('<info>Done. Config types dumped: scopes, themes, system, i18n</info>');
180180

181181
/** @var ApplicationDumpCommand command */
182182
$command = $this->objectManager->create(ApplicationDumpCommand::class);

0 commit comments

Comments
 (0)