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