Skip to content

Commit

Permalink
test: Remove an obsolete test (#1040)
Browse files Browse the repository at this point in the history
test: Remove the obsolete test
  • Loading branch information
theofidry authored Oct 8, 2023
1 parent db98565 commit 5b6a195
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/Console/Command/DiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5b6a195

Please sign in to comment.