From 41aec15fab9d7e60bcd53fcb01acd2b024c51d7d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 10 Feb 2023 20:45:09 +0100 Subject: [PATCH] Migrate new test to PHPUnit 10 --- module/Core/test-api/Action/RobotsTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/Core/test-api/Action/RobotsTest.php b/module/Core/test-api/Action/RobotsTest.php index cf1efdb9..490c82fb 100644 --- a/module/Core/test-api/Action/RobotsTest.php +++ b/module/Core/test-api/Action/RobotsTest.php @@ -4,11 +4,12 @@ declare(strict_types=1); namespace ShlinkioApiTest\Shlink\Core\Action; +use PHPUnit\Framework\Attributes\Test; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; class RobotsTest extends ApiTestCase { - /** @test */ + #[Test] public function expectedListOfCrawlableShortCodesIsReturned(): void { $resp = $this->callShortUrl('robots.txt');