mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
try to handle the center input by using default value
This commit is contained in:
parent
aa49777d7a
commit
8c3f8d8806
@ -177,9 +177,11 @@ class PersonControllerCreateTest extends WebTestCase
|
||||
$this->assertTrue($form->has(self::CENTER_INPUT),
|
||||
'The page contains a "center" input');
|
||||
$centerInput = $form->get(self::CENTER_INPUT);
|
||||
/*
|
||||
$availableValues = $centerInput->availableOptionValues();
|
||||
$lastCenterInputValue = end($availableValues);
|
||||
$centerInput->setValue($lastCenterInputValue);
|
||||
*/
|
||||
|
||||
$client->submit($form);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user