mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Extracted ApiKey metadata to the ApiKeyMeta object
This commit is contained in:
@@ -30,7 +30,7 @@ class GlobalVisitsActionTest extends TestCase
|
||||
/** @test */
|
||||
public function statsAreReturnedFromHelper(): void
|
||||
{
|
||||
$apiKey = new ApiKey();
|
||||
$apiKey = ApiKey::create();
|
||||
$stats = new VisitsStats(5, 3);
|
||||
$getStats = $this->helper->getVisitsStats($apiKey)->willReturn($stats);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user