From 6602e1b286c9f89d0518f7ba5ab014b1446522ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 27 May 2021 00:03:22 +0200 Subject: [PATCH] fix wording in timeline accompanying period test --- .../Tests/Timeline/TimelineAccompanyingPeriodTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php b/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php index 9d3e6ccd8..210039d12 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Timeline/TimelineAccompanyingPeriodTest.php @@ -50,10 +50,10 @@ 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("Ouverture d'une période d'accompagnement", + $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("Fermeture de la période d'accompagnement", + $this->assertContains("Une periode d'accompagnement se clôture", $crawler->Filter('.timeline')->text(), "the text 'Une période d'accompagnement a été fermée' is present"); }