Skip to content

Commit

Permalink
composer#11855 fix: add warning to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-ciszewski committed May 10, 2024
1 parent 2a45dbd commit c7bf2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Composer/Test/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ public function testDevWarningSuppressedForSelfUpdate(): void
$output = new BufferedOutput();
$application->doRun(new ArrayInput(['command' => 'self-update']), $output);

$this->assertSame('', $output->fetch());
$this->assertSame("<warning>Composer could not detect the root package (composer/composer) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>\n", $output->fetch());
}
}

0 comments on commit c7bf2d5

Please sign in to comment.