diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php index ef4fdc9c9..087d05b9d 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerCreateTest.php @@ -205,7 +205,7 @@ class PersonControllerCreateTest extends WebTestCase $form = $this->fillAValidCreationForm($form, 'Charline', 'dd'); $client->submit($form); - $this->assertContains('Depardieu', $client->getCrawler()->text(), + $this->assertContains('DEPARDIEU', $client->getCrawler()->text(), "check that the page has detected the lastname of a person existing in database"); //inversion @@ -213,7 +213,7 @@ class PersonControllerCreateTest extends WebTestCase $form = $this->fillAValidCreationForm($form, 'dd', 'Charline'); $client->submit($form); - $this->assertContains('Depardieu', $client->getCrawler()->text(), + $this->assertContains('DEPARDIEU', $client->getCrawler()->text(), "check that the page has detected the lastname of a person existing in database"); }