Migrate new test to PHPUnit 10

This commit is contained in:
Alejandro Celaya
2023-02-10 20:45:09 +01:00
parent 245cb0e35d
commit 41aec15fab

View File

@@ -4,11 +4,12 @@ declare(strict_types=1);
namespace ShlinkioApiTest\Shlink\Core\Action; namespace ShlinkioApiTest\Shlink\Core\Action;
use PHPUnit\Framework\Attributes\Test;
use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase;
class RobotsTest extends ApiTestCase class RobotsTest extends ApiTestCase
{ {
/** @test */ #[Test]
public function expectedListOfCrawlableShortCodesIsReturned(): void public function expectedListOfCrawlableShortCodesIsReturned(): void
{ {
$resp = $this->callShortUrl('robots.txt'); $resp = $this->callShortUrl('robots.txt');