Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jun 15, 2024
1 parent 1b29f70 commit 9a72d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Configuration/ConfigurationFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
namespace Humbug\PhpScoper\Configuration;

use Fidry\FileSystem\FS;
use Humbug\PhpScoper\Configuration\Throwable\UnknownConfigurationKey;
use Humbug\PhpScoper\Container;
use Humbug\PhpScoper\FileSystemTestCase;
use Humbug\PhpScoper\Patcher\ComposerPatcher;
Expand All @@ -23,7 +24,6 @@
use Humbug\PhpScoper\Patcher\SymfonyPatcher;
use Humbug\PhpScoper\Symbol\NamespaceRegistry;
use Humbug\PhpScoper\Symbol\SymbolRegistry;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use function array_keys;
Expand Down Expand Up @@ -80,7 +80,7 @@ public function test_it_cannot_create_a_configuration_with_an_invalid_key(): voi
PHP,
);

$this->expectException(InvalidArgumentException::class);
$this->expectException(UnknownConfigurationKey::class);
$this->expectExceptionMessage('Invalid configuration key value "unknown key" found.');

$this->createConfigFromStandardFile();
Expand Down

0 comments on commit 9a72d22

Please sign in to comment.