From f3c69a34086f204a118bd1087a9c244313cf8a22 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@git-test.afi-sa.fr>
Date: Mon, 2 Dec 2013 16:28:34 +0000
Subject: [PATCH] =?UTF-8?q?Correction=20tests=20sur=20les=20dates=20d'?=
 =?UTF-8?q?=C3=A9v=C3=A9nement?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../modules/admin/controllers/CmsControllerTest.php         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/application/modules/admin/controllers/CmsControllerTest.php b/tests/application/modules/admin/controllers/CmsControllerTest.php
index 4e3b1489bfe..bb0928a3d4c 100644
--- a/tests/application/modules/admin/controllers/CmsControllerTest.php
+++ b/tests/application/modules/admin/controllers/CmsControllerTest.php
@@ -452,7 +452,7 @@ class CmsControllerArticleDuplicateActionTest extends AbstractControllerTestCase
 
   /** @test */
 	function eventsFinDuplicateShouldContains20110328() {
-		$this->assertXPath('//input[@name="events_fin"][@value="28/03/2011"]');
+		$this->assertXPath('//input[@name="events_fin"][@value="28/03/2011 00:00"]');
 	}
 
 
@@ -531,13 +531,13 @@ class CmsControllerArticleConcertEditActionTest extends CmsControllerTestCase {
 
 	/** @test */
 	function eventDebutShouldBe27_03_2011() {
-		$this->assertInputValueEquals('events_debut', '27/03/2011');
+		$this->assertInputValueEquals('events_debut', '27/03/2011 21:00');
 	}
 
 
 	/** @test */
 	function eventFinShouldBe28_03_2011() {
-		$this->assertInputValueEquals('events_fin', '28/03/2011');
+		$this->assertInputValueEquals('events_fin', '28/03/2011 22:30');
 	}
 
 
-- 
GitLab