mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 20:04:34 +02:00
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
|
@ -74,14 +74,11 @@ class TimestampableElementProviderTest extends WebTestCase
|
|||
};
|
||||
}
|
||||
|
||||
public function dataProvider(): array
|
||||
public function dataProvider(): \Iterator
|
||||
{
|
||||
\Locale::setDefault('en');
|
||||
|
||||
return [
|
||||
['1/1/00, 12:00 AM', '[[LAST_MODIFIED]]'],
|
||||
['1/1/00, 12:00 AM', '[[CREATION_DATE]]'],
|
||||
];
|
||||
yield ['1/1/00, 12:00 AM', '[[LAST_MODIFIED]]'];
|
||||
yield ['1/1/00, 12:00 AM', '[[CREATION_DATE]]'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue