From fbeae67f8d2e99587942ddc3e0e006644625ba3e Mon Sep 17 00:00:00 2001
From: Laurent <llaffont@afi-sa.fr>
Date: Tue, 3 Feb 2015 20:48:56 +0100
Subject: [PATCH] fix test

---
 .../modules/opac/controllers/ProfilOptionsControllerTest.php    | 2 +-
 tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php b/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php
index 6605a417363..36c37728eb0 100644
--- a/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php
+++ b/tests/application/modules/opac/controllers/ProfilOptionsControllerTest.php
@@ -1657,7 +1657,7 @@ class ProfilOptionsControllerProfilBoiteCalendarWithCalendarDisplayedAndModeSimp
 
 	/** @test **/
 	public function boiteCalendarLiShouldContainsCalendarEventDate() {
-		$this->assertXPathContentContains('//li/span[@class="calendar_event_date"]', 'Le 03 septembre 2011',$this->_response->getBody());
+		$this->assertXPathContentContains('//li/span[@class="calendar_event_date"]', 'samedi 03 septembre 2011');
 	}
 
 
diff --git a/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php b/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php
index 7e6bb1b879d..957c13f79ac 100644
--- a/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php
+++ b/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php
@@ -895,7 +895,7 @@ class CalendarOnJanuaryTest extends CalendarViewHelperTestCase {
 	function calendarEventDateShouldContains5JanDot2012() {
 		$this->assertXPathContentContains($this->html,
 																			'//span[@class="calendar_event_date"]',
-																			'Du 05 janvier au 01 mars 2012',
+																			'Du jeudi 05 janvier au jeudi 01 mars 2012',
 																			$this->html);
 	}
 
-- 
GitLab