diff --git a/src/Bundle/ChillPersonBundle/Tests/Search/PersonSearchTest.php b/src/Bundle/ChillPersonBundle/Tests/Search/PersonSearchTest.php index 7b5b6f022..023a67231 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Search/PersonSearchTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Search/PersonSearchTest.php @@ -109,12 +109,12 @@ class PersonSearchTest extends WebTestCase { $crawlerSpecial = $this->generateCrawlerForSearch('@person firstname:Gérard'); - $this->assertRegExp('/GÉRARD/', $crawlerSpecial->filter('.list-with-period')->text()); + $this->assertRegExp('/Gérard/', $crawlerSpecial->filter('.list-with-period')->text()); $crawlerNoSpecial = $this->generateCrawlerForSearch('@person firstname:Gerard'); - $this->assertRegExp('/GÉRARD/', $crawlerNoSpecial->filter('.list-with-period')->text()); + $this->assertRegExp('/Gérard/', $crawlerNoSpecial->filter('.list-with-period')->text()); } public function testSearchCombineLastnameAndNationality() @@ -205,10 +205,10 @@ class PersonSearchTest extends WebTestCase $crawlerCanSee = $this->generateCrawlerForSearch('Gérard', 'center a_social'); $crawlerCannotSee = $this->generateCrawlerForSearch('Gérard', 'center b_social'); - $this->assertRegExp('/Depardieu/', $crawlerCanSee->text(), + $this->assertRegExp('/DEPARDIEU/', $crawlerCanSee->text(), 'center a_social may see "Depardieu" in center a'); - $this->assertNotRegExp('/Depardieu/', $crawlerCannotSee->text(), - 'center b_social may see "Depardieu" in center b'); + $this->assertNotRegExp('/DEPARDIEU/', $crawlerCannotSee->text(), + 'center b_social may not see "Depardieu" in center b'); }