提交 e9ffacf6 编写于 作者: F falko.menge

Improved TaskCandidateTest by getting the task fresh from the user's task list...

Improved TaskCandidateTest by getting the task fresh from the user's task list after claiming it from a candidate task list
上级 003dbdc3
...@@ -93,6 +93,7 @@ public class TaskCandidateTest extends ActivitiInternalTestCase { ...@@ -93,6 +93,7 @@ public class TaskCandidateTest extends ActivitiInternalTestCase {
.assignee(KERMIT) .assignee(KERMIT)
.list(); .list();
assertEquals(1, tasks.size()); assertEquals(1, tasks.size());
task = tasks.get(0);
assertEquals("Pay out expenses", task.getName()); assertEquals("Pay out expenses", task.getName());
// Completing the task ends the process // Completing the task ends the process
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册