mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Migrate new test to PHPUnit 10
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user