Applied rectors phpunit 9 migrations to tests

This commit is contained in:
Jan Böhmer 2023-06-11 15:15:55 +02:00
parent 684334ba22
commit fcbb1849ec
22 changed files with 162 additions and 187 deletions

View file

@ -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]]'];
}
/**