diff --git a/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php b/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php index 4ad7dd063..1a4cca06c 100644 --- a/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php +++ b/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php @@ -36,7 +36,7 @@ public function testPushArtifactHelp(): void This command is designed for a specific scenario in which there are two branches or repositories involved: a source branch without vendor files committed, and an artifact branch with them. If both your source and destination branches are the same, you should simply use git push instead. EOF; - $this->assertEquals($expectedHelp, $help); + self::assertStringContainsStringIgnoringLineEndings($expectedHelp, $help); $this->assertStringNotContainsString('This command requires authentication', $help); }