mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -18,6 +18,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
* Test Person search.
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class PersonSearchTest extends WebTestCase
|
||||
@@ -171,7 +172,7 @@ final class PersonSearchTest extends WebTestCase
|
||||
$crawler = $this->generateCrawlerForSearch('@person lastname:Depardieu firstname:Jean');
|
||||
|
||||
$this->assertMatchesRegularExpression('/Depardieu/', $crawler->filter('.list-with-period')->text());
|
||||
//if this is a AND clause, Jean Depardieu should not appears
|
||||
// if this is a AND clause, Jean Depardieu should not appears
|
||||
$this->assertDoesNotMatchRegularExpression(
|
||||
'/Gérard/',
|
||||
$crawler->filter('.list-with-period')->text(),
|
||||
@@ -185,7 +186,7 @@ final class PersonSearchTest extends WebTestCase
|
||||
$crawler = $this->generateCrawlerForSearch('@person lastname:Depardieu nationality:RU');
|
||||
|
||||
$this->assertMatchesRegularExpression('/Gérard/', $crawler->filter('.list-with-period')->text());
|
||||
//if this is a AND clause, Jean Depardieu should not appears
|
||||
// if this is a AND clause, Jean Depardieu should not appears
|
||||
$this->assertDoesNotMatchRegularExpression(
|
||||
'/Jean/',
|
||||
$crawler->filter('.list-with-period')->text(),
|
||||
|
Reference in New Issue
Block a user