mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 02:25:14 +00:00
fix(plugin-workflow): fix test case
This commit is contained in:
parent
fd8c9932d4
commit
49211ab013
@ -59,8 +59,11 @@ describe('workflow > cluster', () => {
|
||||
const executions = await w1.getExecutions();
|
||||
expect(executions.length).toBe(3);
|
||||
|
||||
await w1.update({
|
||||
enabled: false,
|
||||
await WorkflowRepo.update({
|
||||
filterByTk: w1.id,
|
||||
values: {
|
||||
enabled: false,
|
||||
},
|
||||
});
|
||||
|
||||
await sleep(550);
|
||||
|
Loading…
Reference in New Issue
Block a user