mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 03:38:47 +02:00
Applied rector to remaining test files
This commit is contained in:
parent
af325612aa
commit
d898ca736c
5 changed files with 52 additions and 61 deletions
|
@ -56,13 +56,11 @@ class APIDocsAvailabilityTest extends WebTestCase
|
|||
self::assertResponseStatusCodeSame(403);
|
||||
}
|
||||
|
||||
public static function urlProvider(): array
|
||||
public static function urlProvider(): \Iterator
|
||||
{
|
||||
return [
|
||||
['/api'],
|
||||
['/api/docs.html'],
|
||||
['/api/docs.json'],
|
||||
['/api/docs.jsonld'],
|
||||
];
|
||||
yield ['/api'];
|
||||
yield ['/api/docs.html'];
|
||||
yield ['/api/docs.json'];
|
||||
yield ['/api/docs.jsonld'];
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue