Skip to content

Commit

Permalink
修改测试用例修改认领部分逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
qmdx committed Aug 29, 2024
1 parent 9a40be0 commit fdd19d8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@ public void test_IAAVIR() {

// 执行任务认领【部门主管】
this.executeActiveTasks(instance.getId(), flwTask -> flowLongEngine.taskService()
.claim(flwTask.getId(), testCreator));
.claimRole(flwTask.getId(), testCreator));

// 执行认领逻辑
this.executeTask(instance.getId(), testCreator);

// 执行任务认领【采购经理】
this.executeActiveTasks(instance.getId(), flwTask -> flowLongEngine.taskService()
.claim(flwTask.getId(), testCreator));
.claimRole(flwTask.getId(), testCreator));

// 执行认领逻辑
this.executeTask(instance.getId(), testCreator);
Expand All @@ -319,7 +319,7 @@ public void test_IAAVIR_countersign() {

// 执行任务认领【部门主管】【采购经理】
this.executeActiveTasks(instance.getId(), flwTask -> flowLongEngine.taskService()
.claim(flwTask.getId(), testCreator));
.claimRole(flwTask.getId(), testCreator));

// 执行 2 次认领逻辑
this.executeTask(instance.getId(), testCreator);
Expand All @@ -343,7 +343,7 @@ public void test_IAAVIR_orSign() {

// 执行任务认领【部门主管】
this.executeActiveTasks(instance.getId(), flwTask -> flowLongEngine.taskService()
.claim(flwTask.getId(), testCreator));
.claimRole(flwTask.getId(), testCreator));

// 执行认领逻辑
this.executeTask(instance.getId(), testCreator);
Expand All @@ -367,7 +367,7 @@ public void test_IAAVIR_voteSign() {

// 执行任务认领【部门主管】
this.executeActiveTasks(instance.getId(), flwTask -> flowLongEngine.taskService()
.claim(flwTask.getId(), testCreator));
.claimRole(flwTask.getId(), testCreator));

// 执行认领逻辑
this.executeTask(instance.getId(), testCreator);
Expand Down

0 comments on commit fdd19d8

Please sign in to comment.