Skip to content

Commit

Permalink
add logger to test in uc of deletionModule
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechGrancow committed Nov 17, 2023
1 parent 92dba86 commit 3155b71
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -93,6 +94,10 @@ describe(DeletionRequestUc.name, () => {
provide: RocketChatService,
useValue: createMock<RocketChatService>(),
},
{
provide: LegacyLogger,
useValue: createMock<LegacyLogger>(),
},
],
}).compile();

Expand Down

0 comments on commit 3155b71

Please sign in to comment.