refactor(core): Rename ActiveWorkflowRunner to ActiveWorkflowManager (no-changelog) (#9280)

This commit is contained in:
Iván Ovejero
2024-05-06 17:54:05 +02:00
committed by GitHub
parent 552cf8f3db
commit 7b925ab871
25 changed files with 129 additions and 126 deletions

View File

@@ -11,7 +11,7 @@ import { Push } from '@/push';
import type { WorkflowEntity } from '@db/entities/WorkflowEntity';
import { mockInstance } from '../shared/mocking';
import { initActiveWorkflowRunner } from './shared/utils';
import { initActiveWorkflowManager } from './shared/utils';
import * as testDb from './shared/testDb';
import { createUser } from './shared/db/users';
import { createWorkflow } from './shared/db/workflows';
@@ -41,7 +41,7 @@ describe('Webhook API', () => {
nodeTypes.getByName.mockReturnValue(node);
nodeTypes.getByNameAndVersion.mockReturnValue(node);
await initActiveWorkflowRunner();
await initActiveWorkflowManager();
const server = new (class extends AbstractServer {})();
await server.start();
@@ -144,7 +144,7 @@ describe('Webhook API', () => {
nodeTypes.getByName.mockReturnValue(node);
nodeTypes.getByNameAndVersion.mockReturnValue(node);
await initActiveWorkflowRunner();
await initActiveWorkflowManager();
const server = new (class extends AbstractServer {})();
await server.start();