diff --git a/tests/application/modules/opac/controllers/CmsControllerTest.php b/tests/application/modules/opac/controllers/CmsControllerTest.php index 91a61e11b597b619d719cb3ab64ba2c36d67b617..cb2d0b45588e7a0fd6484961412fc8c133392fc5 100644 --- a/tests/application/modules/opac/controllers/CmsControllerTest.php +++ b/tests/application/modules/opac/controllers/CmsControllerTest.php @@ -160,7 +160,7 @@ extends AbstractControllerTestCase { /** @test */ public function secondItemContentShouldContainsLe13Decembre() { $this->assertXPathContentContains('//channel/item[2]/description', - 'Le 13 décembre', + 'jeudi 13 décembre', $this->_response->getBody()); } @@ -370,7 +370,7 @@ class CmsControllerArticleViewByDateTest extends AbstractCmsControllerArticleVie /** @test */ public function dateForFeteDeLaBananeShouldBePresent() { - $this->assertXpathContentContains('//ul//li//span', 'Du 03 septembre au 03 octobre'); + $this->assertXpathContentContains('//ul//li//span', 'Du samedi 03 septembre au lundi 03 octobre'); } @@ -382,7 +382,7 @@ class CmsControllerArticleViewByDateTest extends AbstractCmsControllerArticleVie /** @test */ public function dateForFeteDeLaFriteShouldBePresent() { - $this->assertXpathContentContains('//ul//li//span', 'Le 03 septembre'); + $this->assertXpathContentContains('//ul//li//span', 'samedi 03 septembre'); } @@ -806,7 +806,7 @@ class CmsControllerArticleViewInEnglishTest extends CmsControllerWithFeteDeLaFri function withLanguageEnEventDateShouldBeTranslated() { $this->dispatch('/cms/articleview/id/224/language/en', true); $this->assertXpathContentContains('//span[@class="calendar_event_date"]', - 'From 03 September to 05 October 2011', + 'From Saturday 03 September to Wednesday 05 October 2011', $this->_response->getBody()); } @@ -931,7 +931,7 @@ class CmsControllerArticleViewTest extends CmsControllerWithFeteDeLaFriteTestCas /** @test */ public function calendarDateShouldBeDu3SeptembreAu5Octobre() { - $this->assertXpathContentContains('//span[@class="calendar_event_date"]', 'Du 03 septembre au 05 octobre'); + $this->assertXpathContentContains('//span[@class="calendar_event_date"]', 'Du samedi 03 septembre au mercredi 05 octobre'); } @@ -968,7 +968,7 @@ class CmsControllerArticleViewTest extends CmsControllerWithFeteDeLaFriteTestCas $this->bootstrap(); $this->dispatch('/cms/articleview/id/224/language/en'); $this->assertXpathContentContains('//span[@class="calendar_event_date"]', - 'From 03 September to 05 October 2011', + 'From Saturday 03 September to Wednesday 05 October 2011', $this->_response->getBody()); }