Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Remove an obsolete test #1040

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading