diff options
Diffstat (limited to 'tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php')
| -rw-r--r-- | tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php b/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php index 7103bcd2d5..a1e566551f 100644 --- a/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php @@ -20,16 +20,14 @@ declare(strict_types=1); namespace Fisharebest\Webtrees\Http\Exceptions; use Fisharebest\Webtrees\TestCase; +use PHPUnit\Framework\Attributes\CoversClass; -/** - * Test harness for the class HttpNotFoundException - * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpNotFoundException - */ + +#[CoversClass(HttpNotFoundException::class)] class HttpNotFoundExceptionTest extends TestCase { public function testClass(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Http\Exceptions\HttpNotFoundException::class)); + $this->assertTrue(class_exists(HttpNotFoundException::class)); } } |
