summaryrefslogtreecommitdiff
path: root/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php')
-rw-r--r--tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php b/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php
index c7e2bf7b4a..6de112bdf5 100644
--- a/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php
+++ b/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.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 HttpServerErrorException
- *
- * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpServerErrorException
- */
+
+#[CoversClass(HttpServerErrorException::class)]
class HttpServerErrorExceptionTest extends TestCase
{
public function testClass(): void
{
- $this->assertTrue(class_exists(\Fisharebest\Webtrees\Http\Exceptions\HttpServerErrorException::class));
+ $this->assertTrue(class_exists(HttpServerErrorException::class));
}
}