Update to PHPUnit 10

This commit is contained in:
Alejandro Celaya
2023-02-09 09:32:38 +01:00
parent ad44a8441a
commit 650a286982
131 changed files with 335 additions and 315 deletions

View File

@@ -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()];