From aa49777d7ae87052db776401e66eab4d24aaaf06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 14 Oct 2021 14:26:09 +0200 Subject: [PATCH] fix capitalization in personcontroller create test --- .../Tests/Controller/PersonControllerCreateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); }