mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
php cs fix
This commit is contained in:
parent
1bd5e6d582
commit
a648fd09b0
@ -116,20 +116,20 @@ final class PersonControllerCreateTest extends WebTestCase
|
|||||||
$genderType->getType(),
|
$genderType->getType(),
|
||||||
'The gender input is a select form to select a gender entity'
|
'The gender input is a select form to select a gender entity'
|
||||||
);
|
);
|
||||||
/* $this->assertEquals(
|
/* $this->assertEquals(
|
||||||
3,
|
3,
|
||||||
\count($genderType->availableOptionValues()),
|
\count($genderType->availableOptionValues()),
|
||||||
'The gender input has three options: man, women and undefined'
|
'The gender input has three options: man, women and undefined'
|
||||||
);
|
);
|
||||||
$this->assertTrue(
|
$this->assertTrue(
|
||||||
\in_array('man', $genderType->availableOptionValues(), true),
|
\in_array('man', $genderType->availableOptionValues(), true),
|
||||||
'gender has "homme" option'
|
'gender has "homme" option'
|
||||||
);
|
);
|
||||||
$this->assertTrue(
|
$this->assertTrue(
|
||||||
\in_array('woman', $genderType->availableOptionValues(), true),
|
\in_array('woman', $genderType->availableOptionValues(), true),
|
||||||
'gender has "femme" option'
|
'gender has "femme" option'
|
||||||
);
|
);
|
||||||
$this->assertFalse($genderType->hasValue(), 'The gender input is not checked');*/
|
$this->assertFalse($genderType->hasValue(), 'The gender input is not checked');*/
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user