diff --git a/api/src/cms/controllers/menu.controller.spec.ts b/api/src/cms/controllers/menu.controller.spec.ts index f020f897..757e4984 100644 --- a/api/src/cms/controllers/menu.controller.spec.ts +++ b/api/src/cms/controllers/menu.controller.spec.ts @@ -11,7 +11,6 @@ import { EventEmitter2 } from '@nestjs/event-emitter'; import { MongooseModule } from '@nestjs/mongoose'; import { Test, TestingModule } from '@nestjs/testing'; -import { LoggerModule } from '@/logger/logger.module'; import { LoggerService } from '@/logger/logger.service'; import { installMenuFixtures, @@ -39,7 +38,6 @@ describe('MenuController', () => { imports: [ rootMongooseTestModule(installMenuFixtures), MongooseModule.forFeature([MenuModel]), - LoggerModule, ], providers: [ MenuRepository, diff --git a/api/src/cms/repositories/menu.reporsitory.spec.ts b/api/src/cms/repositories/menu.reporsitory.spec.ts index 064a66d3..0e282e8a 100644 --- a/api/src/cms/repositories/menu.reporsitory.spec.ts +++ b/api/src/cms/repositories/menu.reporsitory.spec.ts @@ -10,7 +10,6 @@ import { EventEmitter2 } from '@nestjs/event-emitter'; import { MongooseModule } from '@nestjs/mongoose'; import { Test, TestingModule } from '@nestjs/testing'; -import { LoggerModule } from '@/logger/logger.module'; import { installMenuFixtures, rootMenuFixtures, @@ -31,7 +30,6 @@ describe('MenuRepository', () => { imports: [ rootMongooseTestModule(installMenuFixtures), MongooseModule.forFeature([MenuModel]), - LoggerModule, ], providers: [MenuRepository, EventEmitter2], }).compile();