mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Ensured API key is tracked when creating short URLs from the REST API
This commit is contained in:
@@ -78,7 +78,7 @@ class SingleStepCreateShortUrlActionTest extends TestCase
|
||||
return $argument;
|
||||
}),
|
||||
[],
|
||||
ShortUrlMeta::createEmpty(),
|
||||
ShortUrlMeta::fromRawData(['apiKey' => 'abc123']),
|
||||
)->willReturn(new ShortUrl(''));
|
||||
|
||||
$resp = $this->action->handle($request);
|
||||
|
||||
Reference in New Issue
Block a user