Skip to content
Snippets Groups Projects
Commit f3c69a34 authored by llaffont's avatar llaffont
Browse files

Correction tests sur les dates d'événement

parent d747f3a5
Branches
Tags
No related merge requests found
...@@ -452,7 +452,7 @@ class CmsControllerArticleDuplicateActionTest extends AbstractControllerTestCase ...@@ -452,7 +452,7 @@ class CmsControllerArticleDuplicateActionTest extends AbstractControllerTestCase
/** @test */ /** @test */
function eventsFinDuplicateShouldContains20110328() { 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 { ...@@ -531,13 +531,13 @@ class CmsControllerArticleConcertEditActionTest extends CmsControllerTestCase {
/** @test */ /** @test */
function eventDebutShouldBe27_03_2011() { function eventDebutShouldBe27_03_2011() {
$this->assertInputValueEquals('events_debut', '27/03/2011'); $this->assertInputValueEquals('events_debut', '27/03/2011 21:00');
} }
/** @test */ /** @test */
function eventFinShouldBe28_03_2011() { function eventFinShouldBe28_03_2011() {
$this->assertInputValueEquals('events_fin', '28/03/2011'); $this->assertInputValueEquals('events_fin', '28/03/2011 22:30');
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment