mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Extracted ApiKey metadata to the ApiKeyMeta object
This commit is contained in:
@@ -39,7 +39,7 @@ class SingleStepCreateShortUrlActionTest extends TestCase
|
||||
/** @test */
|
||||
public function properDataIsPassedWhenGeneratingShortCode(): void
|
||||
{
|
||||
$apiKey = new ApiKey();
|
||||
$apiKey = ApiKey::create();
|
||||
|
||||
$request = (new ServerRequest())->withQueryParams([
|
||||
'longUrl' => 'http://foobar.com',
|
||||
|
||||
Reference in New Issue
Block a user