From dfad8544b10b0561611937309ae793276b18d645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 8 Oct 2023 22:54:22 +0200 Subject: [PATCH] test: Remove the obsolete test --- tests/Console/Command/DiffTest.php | 15 --------------- 1 file changed, 15 deletions(-) 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);