Commit 79dbc1b6 authored by catch's avatar catch
Browse files

task: #3608308 Composer 2.10 causing Drupal recipe unpacking tests to fail

By: godotislate
By: macsim
(cherry picked from commit 2d664b39)
parent ef63fe55
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -708,7 +708,7 @@ private function runComposer(string $command, ?string $cwd = NULL, string &$erro
    $cwd ??= $this->fixturesDir . '/composer-root';

    // Always add --no-interaction and --no-ansi to Composer commands.
    $output = $this->mustExec("composer $command --no-interaction --no-ansi", $cwd, [], $error_output);
    $output = $this->mustExec("COMPOSER_NO_AUDIT=1 composer $command --no-interaction --no-ansi", $cwd, [], $error_output);
    if ($command === 'install') {
      $this->assertFileExists($cwd . '/composer.lock');
    }