Commits

Wayne Werner committed 5e668f7

Got due check passing

  • Participants
  • Parent commits 6e225f5

Comments (0)

Files changed (2)

     if priority is not None:
         task.priority = priority
     if due is not None:
-        pass
+        task.due = due
     if original_estimate is not None:
         pass
+
     if current_estimate is not None:
         pass
     if version is not None:
         self.assertEqual(expected_priority, task.priority)
 
     def test_whenEditTaskIsCalledWithDueItShouldBeUpdated(self):
-        expected_due = '1984-08-24'
+        expected_due = datetime(1984, 8, 26)
         id = slayer.add_task().id
         slayer.edit_task(id, due=expected_due)
         task = slayer.get_task(id)