Skip to content

Commit 187a553

Browse files
committed
fixup! [Tests] Added unit test for UnauthorizedException class
1 parent d04d87a commit 187a553

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/lib/Base/Exceptions/UnauthorizedExceptionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
use Ibexa\Core\Base\Exceptions\UnauthorizedException;
1212
use PHPUnit\Framework\TestCase;
13+
use Stringable;
1314

1415
/**
1516
* @covers \Ibexa\Core\Base\Exceptions\UnauthorizedException
@@ -59,7 +60,7 @@ public static function getDataForTestConstructor(): iterable
5960
'The User does not have the \'read\' \'content\' permission with: contentId \'1\', locationId \'2\'',
6061
];
6162

62-
$stringableClass = new class() implements \Stringable {
63+
$stringableClass = new class() implements Stringable {
6364
public function __toString(): string
6465
{
6566
return 'bar';

0 commit comments

Comments
 (0)