diff --git a/tests/Composer/Test/Command/ArchiveCommandTest.php b/tests/Composer/Test/Command/ArchiveCommandTest.php index 4a777988d..41a5c0993 100644 --- a/tests/Composer/Test/Command/ArchiveCommandTest.php +++ b/tests/Composer/Test/Command/ArchiveCommandTest.php @@ -95,9 +95,9 @@ class ArchiveCommandTest extends TestCase null, false, null - ); + )->willReturn(0); $command->method('isInteractive')->willReturn(false); - $command->run($input, $output); + $this->assertEquals(0, $command->run($input, $output)); } }