use a more randomly name for tests

This commit is contained in:
Julien Fastré 2021-08-17 17:43:53 +02:00
parent 1a37910fb1
commit afb2a92997

View File

@ -168,7 +168,8 @@ class PersonControllerCreateTest extends WebTestCase
"The page is accessible at the URL /{_locale}/person/new"); "The page is accessible at the URL /{_locale}/person/new");
$form = $crawler->selectButton("Ajouter la personne")->form(); $form = $crawler->selectButton("Ajouter la personne")->form();
$this->fillAValidCreationForm($form, 'roger', 'rabbit'); // create a very long name to avoid collision
$this->fillAValidCreationForm($form, 'Carmela Girdana Assuntamente Castalle', 'rabbit');
$this->assertTrue($form->has(self::CENTER_INPUT), $this->assertTrue($form->has(self::CENTER_INPUT),
'The page contains a "center" input'); 'The page contains a "center" input');