forked from mirror/Part-DB.Part-DB-server
Applied rectors phpunit 9 migrations to tests
This commit is contained in:
parent
684334ba22
commit
fcbb1849ec
22 changed files with 162 additions and 187 deletions
|
@ -61,12 +61,10 @@ class GlobalProvidersTest extends WebTestCase
|
|||
$this->target = new Part();
|
||||
}
|
||||
|
||||
public function dataProvider(): array
|
||||
public function dataProvider(): \Iterator
|
||||
{
|
||||
return [
|
||||
['Part-DB', '[[INSTALL_NAME]]'],
|
||||
['anonymous', '[[USERNAME]]'],
|
||||
];
|
||||
yield ['Part-DB', '[[INSTALL_NAME]]'];
|
||||
yield ['anonymous', '[[USERNAME]]'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue