diff --git a/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php b/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php index 210039d12..4fb3c7f06 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php @@ -50,7 +50,7 @@ class TimelineAccompanyingPeriodTest extends \Chill\PersonBundle\Tests\Controlle "the timeline page loads sucessfully"); $this->assertGreaterThan(0, $crawler->filter('.timeline div')->count(), "the timeline page contains multiple div inside a .timeline element"); - $this->assertContains(" Une période d'accompagnement est ouverte" + $this->assertContains(" Une période d'accompagnement est ouverte", $crawler->filter('.timeline')->text(), "the text 'une période d'accompagnement a été ouverte' is present"); $this->assertContains("Une periode d'accompagnement se clôture",