mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Migrate from PHPUnit annotations to native attributes
This commit is contained in:
@@ -6,6 +6,7 @@ namespace ShlinkioTest\Shlink\Rest\Action\Visit;
|
||||
|
||||
use Laminas\Diactoros\Response\JsonResponse;
|
||||
use Laminas\Diactoros\ServerRequestFactory;
|
||||
use PHPUnit\Framework\Attributes\Test;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Shlinkio\Shlink\Core\Visit\Model\VisitsStats;
|
||||
@@ -24,7 +25,7 @@ class GlobalVisitsActionTest extends TestCase
|
||||
$this->action = new GlobalVisitsAction($this->helper);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
#[Test]
|
||||
public function statsAreReturnedFromHelper(): void
|
||||
{
|
||||
$apiKey = ApiKey::create();
|
||||
|
||||
Reference in New Issue
Block a user