mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Make PruningService.init and WaitTracker.init consistent (no-changelog) (#9761)
This commit is contained in:
@@ -14,6 +14,8 @@ import { Logger } from '@/Logger';
|
||||
import { mockInstance } from '../shared/mocking';
|
||||
import { createWorkflow } from './shared/db/workflows';
|
||||
import { createExecution, createSuccessfulExecution } from './shared/db/executions';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { OrchestrationService } from '@/services/orchestration.service';
|
||||
|
||||
describe('softDeleteOnPruningCycle()', () => {
|
||||
let pruningService: PruningService;
|
||||
@@ -29,6 +31,7 @@ describe('softDeleteOnPruningCycle()', () => {
|
||||
mockInstance(Logger),
|
||||
Container.get(ExecutionRepository),
|
||||
mockInstance(BinaryDataService),
|
||||
mock<OrchestrationService>(),
|
||||
);
|
||||
|
||||
workflow = await createWorkflow();
|
||||
|
||||
Reference in New Issue
Block a user