mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 12:13:13 +08:00
Update to PHPUnit 10
This commit is contained in:
@@ -48,7 +48,7 @@ class ApiKeyServiceTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function provideCreationDate(): iterable
|
||||
public static function provideCreationDate(): iterable
|
||||
{
|
||||
$domain = Domain::withAuthority('');
|
||||
$domain->setId('123');
|
||||
@@ -79,7 +79,7 @@ class ApiKeyServiceTest extends TestCase
|
||||
self::assertSame($invalidKey, $result->apiKey);
|
||||
}
|
||||
|
||||
public function provideInvalidApiKeys(): iterable
|
||||
public static function provideInvalidApiKeys(): iterable
|
||||
{
|
||||
yield 'non-existent api key' => [null];
|
||||
yield 'disabled api key' => [ApiKey::create()->disable()];
|
||||
|
||||
Reference in New Issue
Block a user