mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Second part - ignore test/app
subdirectory.
This commit is contained in:
@@ -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"'
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user