mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix capitalization
This commit is contained in:
parent
8c3f8d8806
commit
0497625e90
@ -109,12 +109,12 @@ class PersonSearchTest extends WebTestCase
|
|||||||
{
|
{
|
||||||
$crawlerSpecial = $this->generateCrawlerForSearch('@person firstname:Gérard');
|
$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');
|
$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()
|
public function testSearchCombineLastnameAndNationality()
|
||||||
@ -205,10 +205,10 @@ class PersonSearchTest extends WebTestCase
|
|||||||
$crawlerCanSee = $this->generateCrawlerForSearch('Gérard', 'center a_social');
|
$crawlerCanSee = $this->generateCrawlerForSearch('Gérard', 'center a_social');
|
||||||
$crawlerCannotSee = $this->generateCrawlerForSearch('Gérard', 'center b_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');
|
'center a_social may see "Depardieu" in center a');
|
||||||
$this->assertNotRegExp('/Depardieu/', $crawlerCannotSee->text(),
|
$this->assertNotRegExp('/DEPARDIEU/', $crawlerCannotSee->text(),
|
||||||
'center b_social may see "Depardieu" in center b');
|
'center b_social may not see "Depardieu" in center b');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user