summaryrefslogtreecommitdiff
path: root/tests/units/Model/TaskModificationTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-05 21:28:56 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-05 21:28:56 -0400
commit656f4306325d7944280ce111d95aeaeacab8d3cd (patch)
tree9fe6e6631b2b1d14feb1344e2b78186db9a07a04 /tests/units/Model/TaskModificationTest.php
parent33098e4e11ba451d0b4fed7f8f41820e2bb66bd4 (diff)
Changed DateParser to use only user format and ISO-8601
Diffstat (limited to 'tests/units/Model/TaskModificationTest.php')
-rw-r--r--tests/units/Model/TaskModificationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/TaskModificationTest.php b/tests/units/Model/TaskModificationTest.php
index 022fb49b..a8ace25a 100644
--- a/tests/units/Model/TaskModificationTest.php
+++ b/tests/units/Model/TaskModificationTest.php
@@ -231,7 +231,7 @@ class TaskModificationTest extends Base
$this->assertEquals('2014-11-24 16:25', date('Y-m-d H:i', $task['date_started']));
// Set a datetime
- $this->assertTrue($tm->update(array('id' => 1, 'date_started' => '2014-11-24 6:25pm')));
+ $this->assertTrue($tm->update(array('id' => 1, 'date_started' => '11/24/2014 18:25')));
$task = $tf->getById(1);
$this->assertEquals('2014-11-24 18:25', date('Y-m-d H:i', $task['date_started']));