Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jalogut committed Nov 25, 2017
1 parent 3202e94 commit 0812ba8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ protected function configure()
$this->addArgument(
self::INPUT_CONFIG_TYPES,
InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
sprintf('Space-separated list of config types or omit to dump all [%s]',
implode(', ', $this->configTypes))
sprintf('Space-separated list of config types or omit to dump all [%s]', implode(', ', $this->configTypes))
);
parent::configure();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function testExport()
->method('writeln')
->withConsecutive(
[['system' => 'Some comment message']],
['<info>Done.</info>']
['<info>Done. Config types dumped: system</info>']
);

$method = new \ReflectionMethod(ApplicationDumpCommand::class, 'execute');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function testExecute()
->with(['system' => $comment]);
$outputMock->expects($this->at(1))
->method('writeln')
->with('<info>Done.</info>');
->with('<info>Done. Config types dumped: scopes, themes, system, i18n</info>');

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

0 comments on commit 0812ba8

Please sign in to comment.