mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
DX: more code style fixes
This commit is contained in:
@@ -197,12 +197,24 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
|
||||
public function validTextFieldsProvider()
|
||||
{
|
||||
return [
|
||||
['firstName', 'random Value', static function (Person $person) { return $person->getFirstName(); }],
|
||||
['lastName', 'random Value', static function (Person $person) { return $person->getLastName(); }],
|
||||
['birthdate', '15-12-1980', static function (Person $person) { return $person->getBirthdate()->format('d-m-Y'); }],
|
||||
['memo', 'jfkdlmq jkfldmsq jkmfdsq', static function (Person $person) { return $person->getMemo(); }],
|
||||
['birthdate', '', static function (Person $person) { return $person->getBirthdate(); }],
|
||||
['gender', Person::FEMALE_GENDER, static function (Person $person) { return $person->getGender(); }],
|
||||
['firstName', 'random Value', static function (Person $person) {
|
||||
return $person->getFirstName();
|
||||
}],
|
||||
['lastName', 'random Value', static function (Person $person) {
|
||||
return $person->getLastName();
|
||||
}],
|
||||
['birthdate', '15-12-1980', static function (Person $person) {
|
||||
return $person->getBirthdate()->format('d-m-Y');
|
||||
}],
|
||||
['memo', 'jfkdlmq jkfldmsq jkmfdsq', static function (Person $person) {
|
||||
return $person->getMemo();
|
||||
}],
|
||||
['birthdate', '', static function (Person $person) {
|
||||
return $person->getBirthdate();
|
||||
}],
|
||||
['gender', Person::FEMALE_GENDER, static function (Person $person) {
|
||||
return $person->getGender();
|
||||
}],
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user