Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jun 15, 2024
1 parent a88106f commit 1b29f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Configuration/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

namespace Humbug\PhpScoper\Configuration;

use Humbug\PhpScoper\Configuration\Throwable\InvalidConfigurationValue;
use Humbug\PhpScoper\Patcher\FakePatcher;
use Humbug\PhpScoper\Patcher\Patcher;
use Humbug\PhpScoper\Patcher\PatcherChain;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
Expand All @@ -36,7 +36,7 @@ public function test_it_validates_the_prefix(
string $prefix,
string $expectedExceptionMessage
): void {
$this->expectException(InvalidArgumentException::class);
$this->expectException(InvalidConfigurationValue::class);
$this->expectExceptionMessage($expectedExceptionMessage);

new Configuration(
Expand Down

0 comments on commit 1b29f70

Please sign in to comment.