Fix tests

This commit is contained in:
Iván Ovejero 2024-09-19 11:23:27 +02:00
parent 99188b4985
commit ac1e781fb1
No known key found for this signature in database

View file

@ -39,6 +39,7 @@ export async function createExecution(
const execution = await Container.get(ExecutionRepository).save({
finished: finished ?? true,
mode: mode ?? 'manual',
createdAt: new Date(),
startedAt: startedAt ?? new Date(),
...(workflow !== undefined && { workflowId: workflow.id }),
stoppedAt: stoppedAt ?? new Date(),