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:
@@ -138,7 +138,7 @@ class AuthenticationMiddlewareTest extends TestCase
|
||||
/** @test */
|
||||
public function validApiKeyFallsBackToNextMiddleware(): void
|
||||
{
|
||||
$apiKey = new ApiKey();
|
||||
$apiKey = ApiKey::create();
|
||||
$key = $apiKey->toString();
|
||||
$request = ServerRequestFactory::fromGlobals()
|
||||
->withAttribute(
|
||||
|
||||
Reference in New Issue
Block a user