diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-05 21:28:56 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-05 21:28:56 -0400 |
commit | 656f4306325d7944280ce111d95aeaeacab8d3cd (patch) | |
tree | 9fe6e6631b2b1d14feb1344e2b78186db9a07a04 /tests/units/Model/TaskCreationTest.php | |
parent | 33098e4e11ba451d0b4fed7f8f41820e2bb66bd4 (diff) |
Changed DateParser to use only user format and ISO-8601
Diffstat (limited to 'tests/units/Model/TaskCreationTest.php')
-rw-r--r-- | tests/units/Model/TaskCreationTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/TaskCreationTest.php b/tests/units/Model/TaskCreationTest.php index aba52ae2..b249bc0b 100644 --- a/tests/units/Model/TaskCreationTest.php +++ b/tests/units/Model/TaskCreationTest.php @@ -312,7 +312,7 @@ class TaskCreationTest extends Base $this->assertEquals('2014-11-24 16:25', date('Y-m-d H:i', $task['date_started'])); // Set a datetime - $this->assertEquals(3, $tc->create(array('project_id' => 1, 'title' => 'test', 'date_started' => '2014-11-24 6:25pm'))); + $this->assertEquals(3, $tc->create(array('project_id' => 1, 'title' => 'test', 'date_started' => '11/24/2014 18:25'))); $task = $tf->getById(3); $this->assertEquals('2014-11-24 18:25', date('Y-m-d H:i', $task['date_started'])); |