mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fixup! Make all existing export test data provider static
This commit is contained in:
parent
d135b2ba0a
commit
d0f23eb6b1
@ -77,6 +77,7 @@ final class ListPersonTest extends AbstractExportTest
|
||||
|
||||
public static function getFormData(): array
|
||||
{
|
||||
$data = [];
|
||||
foreach ([
|
||||
['fields' => ['id', 'firstName', 'lastName']],
|
||||
['fields' => ['id', 'birthdate', 'gender', 'memo', 'email', 'phonenumber']],
|
||||
@ -84,8 +85,10 @@ final class ListPersonTest extends AbstractExportTest
|
||||
['fields' => ['id', 'nationality']],
|
||||
['fields' => ['id', 'countryOfBirth']],
|
||||
] as $base) {
|
||||
yield [...$base, 'address_date' => new \DateTimeImmutable('today')];
|
||||
$data[] = [...$base, 'address_date' => new \DateTimeImmutable('today')];
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
public static function getModifiersCombination(): array
|
||||
|
Loading…
x
Reference in New Issue
Block a user