diff --git a/apps/server/src/modules/deletion/uc/deletion-request.uc.spec.ts b/apps/server/src/modules/deletion/uc/deletion-request.uc.spec.ts index 5bb38137e38..b54ca0564c6 100644 --- a/apps/server/src/modules/deletion/uc/deletion-request.uc.spec.ts +++ b/apps/server/src/modules/deletion/uc/deletion-request.uc.spec.ts @@ -11,6 +11,7 @@ import { TeamService } from '@modules/teams'; import { UserService } from '@modules/user'; import { RocketChatService } from '@modules/rocketchat'; import { RocketChatUser, RocketChatUserService, rocketChatUserFactory } from '@modules/rocketchat-user'; +import { LegacyLogger } from '@src/core/logger'; import { DeletionDomainModel, DeletionStatusModel } from '../domain/types'; import { DeletionLogService } from '../services/deletion-log.service'; import { DeletionRequestService } from '../services'; @@ -93,6 +94,10 @@ describe(DeletionRequestUc.name, () => { provide: RocketChatService, useValue: createMock(), }, + { + provide: LegacyLogger, + useValue: createMock(), + }, ], }).compile();