refactor(core): Port security config (#11440)

This commit is contained in:
Iván Ovejero
2024-10-29 08:52:07 +01:00
committed by GitHub
parent c152a3ac56
commit 097f93564c
13 changed files with 69 additions and 39 deletions

View File

@@ -1,3 +1,4 @@
import { mock } from 'jest-mock-extended';
import Container from 'typedi';
import { v4 as uuid } from 'uuid';
@@ -18,7 +19,7 @@ let securityAuditService: SecurityAuditService;
beforeAll(async () => {
await testDb.init();
securityAuditService = new SecurityAuditService(Container.get(WorkflowRepository));
securityAuditService = new SecurityAuditService(Container.get(WorkflowRepository), mock());
});
beforeEach(async () => {