cs: Second part - ignore test/app subdirectory.

This commit is contained in:
Pol Dellaiera
2021-11-23 14:34:34 +01:00
parent 5f37304796
commit 3ea35682eb
72 changed files with 326 additions and 365 deletions

View File

@@ -62,8 +62,8 @@ class TimelineProviderTest extends WebTestCase
$scopesSocial = array_filter(
static::$em
->getRepository('ChillMainBundle:Scope')
->findAll(),
->getRepository('ChillMainBundle:Scope')
->findAll(),
function (Scope $scope) { return $scope->getName()['en'] === 'social'; }
);
@@ -104,7 +104,7 @@ class TimelineProviderTest extends WebTestCase
$this->assertEquals(
0,
$crawler->filter('.report_entry .summary')
->count(),
->count(),
'the page does not contains a .report .summary element'
);
}
@@ -152,19 +152,19 @@ class TimelineProviderTest extends WebTestCase
$this->assertGreaterThan(
0,
$crawler->filter('.report_entry .summary')
->count(),
->count(),
'the page contains a .report .summary element'
);
$this->assertContains(
'blah blah',
$crawler->filter('.report_entry .summary')
->text(),
->text(),
'the page contains the text "blah blah"'
);
$this->assertContains(
'Propriétaire',
$crawler->filter('.report_entry .summary')
->text(),
->text(),
'the page contains the mention "Propriétaire"'
);
}