Commit e1489341 authored by cijujoseph's avatar cijujoseph

Adding new task due date check

parent fe8601a6
......@@ -24,6 +24,7 @@ import org.activiti.engine.task.Task;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import static com.alfresco.aps.testutils.TestUtilsConstants.*;
import static org.junit.Assert.*;
@RunWith(SpringJUnit4ClassRunner.class)
......@@ -72,8 +73,8 @@ public class UserTaskUnitTest extends AbstractTest {
Task task = taskService.createTaskQuery().singleResult();
unitTestHelpers.assertTaskDueDate(1, task.getDueDate());
unitTestHelpers.assertTaskDueDate(1, TIME_UNIT_DAY, task);
unitTestHelpers.assertUserAssignment("$INITIATOR", task, false, false);
taskService.complete(task.getId());
......
Markdown is supported
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