Skip to content

Commit

Permalink
Add missing class import
Browse files Browse the repository at this point in the history
  • Loading branch information
guvra committed Feb 20, 2024
1 parent 13c61db commit 4333243
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/Converter/Proxy/FakerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Smile\GdprDump\Tests\Unit\Converter\Proxy;

use InvalidArgumentException;
use Smile\GdprDump\Converter\Parameters\ValidationException;
use Smile\GdprDump\Tests\Unit\Converter\TestCase;

Expand Down Expand Up @@ -47,11 +48,11 @@ public function testFormatterNotSet(): void
}

/**
* Test creation of a converter with invalid formatter throws
* Assert that an exception is thrown when the Faker formatter is not defined.
*/
public function testInvalidFormatter(): void
{
$this->expectException(\InvalidArgumentException::class);
$this->expectException(InvalidArgumentException::class);
$this->createFakerConverter([
'formatter' => 'doesNotExist',
'arguments' => [1, 1],
Expand Down

0 comments on commit 4333243

Please sign in to comment.