diff --git a/src/idp/idp.module.ts b/src/idp/idp.module.ts index 695c241..24d8bd4 100644 --- a/src/idp/idp.module.ts +++ b/src/idp/idp.module.ts @@ -1,10 +1,10 @@ import { Module } from '@nestjs/common'; import { IdpService } from './idp.service'; -import { HttpService } from '@nestjs/axios'; +import { HttpModule } from '@nestjs/axios'; import { ConfigModule } from '@nestjs/config'; @Module({ - imports: [HttpService, ConfigModule], + imports: [HttpModule, ConfigModule], providers: [IdpService], exports: [IdpService], }) diff --git a/test/user/user.controller.spec.ts b/test/user/user.controller.spec.ts deleted file mode 100644 index 8647199..0000000 --- a/test/user/user.controller.spec.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Test, TestingModule } from '@nestjs/testing'; -import { UserController } from '../../src/user/user.controller'; - -describe('UserController', () => { - let controller: UserController; - - beforeEach(async () => { - const module: TestingModule = await Test.createTestingModule({ - controllers: [UserController], - }).compile(); - - controller = module.get(UserController); - }); - - it('should be defined', () => { - expect(controller).toBeDefined(); - }); -});