diff --git a/packages/backend/test/factories/step.ts b/packages/backend/test/factories/step.ts index baaaf090..f26d8f7c 100644 --- a/packages/backend/test/factories/step.ts +++ b/packages/backend/test/factories/step.ts @@ -15,7 +15,7 @@ export const createStep = async (params: Partial = {}) => { params.position = params?.position || (lastStep?.position || 0) + 1; params.status = params?.status || 'completed'; params.appKey = - params?.appKey || (params.type === 'action' ? 'webhook' : 'deepl'); + params?.appKey || (params.type === 'action' ? 'deepl' : 'webhook'); const [step] = await global.knex.table('steps').insert(params).returning('*');