diff options
Diffstat (limited to 'tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php')
| -rw-r--r-- | tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php b/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php index 9747711cde..522d5b2a88 100644 --- a/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.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 HttpServiceUnavailableException - * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpServiceUnavailableException - */ + +#[CoversClass(HttpServiceUnavailableException::class)] class HttpServiceUnavailableExceptionTest extends TestCase { public function testClass(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Http\Exceptions\HttpServiceUnavailableException::class)); + $this->assertTrue(class_exists(HttpServiceUnavailableException::class)); } } |
