use of io.crnk.activiti.example.model.ApproveTask in project crnk-framework by crnk-project.
the class ApprovalIntTest method checkApprovalWorkflow.
@Test
public void checkApprovalWorkflow() {
Schedule schedule = createSchedule();
updateToTriggerApproval(schedule);
ApproveTask task = verifyApprovalStarted(schedule);
approve(task);
verifyApprovalCompleted(schedule);
verifyScheduleUpdated();
}
Aggregations