From ce7f6b46742cfb6f3d3fd84095e54f9a537e32ed Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 23 Oct 2024 13:24:00 -0700 Subject: [PATCH] fix --- tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }