From bd98fd69e8b4e4835ac3747d50dc7dde2b186b74 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Mon, 23 Oct 2023 15:09:17 -0700 Subject: [PATCH] kill mutant --- tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php b/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php index b13a641a4..459438467 100644 --- a/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php +++ b/tests/phpunit/src/Commands/Push/PushArtifactCommandTest.php @@ -22,6 +22,11 @@ protected function createCommand(): Command { return $this->injectCommand(PushArtifactCommand::class); } + public function testNoAuthenticationRequired(): void { + $help = $this->command->getHelp(); + $this->assertStringNotContainsString('This command requires authentication', $help); + } + public function testPushArtifact(): void { touch(Path::join($this->projectDir, 'composer.json')); mkdir(Path::join($this->projectDir, 'docroot'));