Skip to content

Commit

Permalink
Merge pull request #870 from ergebnis/fix/interaction
Browse files Browse the repository at this point in the history
Fix: Run tests with `--no-interaction` option
  • Loading branch information
localheinz committed Jan 21, 2022
2 parents 8d79887 + 492b1a8 commit dee2fe8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/Util/Scenario.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,16 @@ public function consoleParametersWith(array $parameters): array
}

/**
* @return array<string, string>
* @return array<string, bool|string>
*/
public function consoleParameters(): array
{
$parameters = [
'command' => 'normalize',
/**
* @see https://github.com/composer/composer/blob/2.2.3/src/Composer/Plugin/PluginManager.php#L702-L744
*/
'--no-interaction' => true,
];

if ($this->commandInvocation->is(CommandInvocation::usingFileArgument())) {
Expand Down

0 comments on commit dee2fe8

Please sign in to comment.