diff --git a/tests/Console/Command/DiffTest.php b/tests/Console/Command/DiffTest.php index 53fbdd632..c2b4f8a6f 100644 --- a/tests/Console/Command/DiffTest.php +++ b/tests/Console/Command/DiffTest.php @@ -18,7 +18,6 @@ use Fidry\Console\DisplayNormalizer; use Fidry\Console\ExitCode; use InvalidArgumentException; -use KevinGH\Box\Phar\IncompariblePhars; use KevinGH\Box\Phar\InvalidPhar; use KevinGH\Box\Test\CommandTestCase; use KevinGH\Box\Test\RequiresPharReadonlyOff; @@ -244,20 +243,6 @@ public function test_it_can_compare_phar_files_without_the_phar_extension(): voi $this->assertSameOutput($expected, ExitCode::SUCCESS); } - public function test_it_cannot_compare_phars_which_are_signed_with_a_private_key(): void - { - $this->expectException(IncompariblePhars::class); - - $this->commandTester->execute( - [ - 'command' => 'diff', - 'pharA' => realpath(self::FIXTURES_DIR.'/simple-phar-foo.phar'), - 'pharB' => realpath(self::FIXTURES_DIR.'/openssl.phar'), - ], - ['verbosity' => OutputInterface::VERBOSITY_DEBUG], - ); - } - public function test_it_does_not_swallow_exceptions_in_debug_mode(): void { $this->expectException(InvalidPhar::class);