From 6cd71a771c3692433cb803fe85219582c78e5fa1 Mon Sep 17 00:00:00 2001 From: Arslan Kamchybekov Date: Thu, 12 Sep 2024 17:38:54 -0500 Subject: [PATCH] fixed issues --- backend/src/user/user.controller.spec.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/src/user/user.controller.spec.ts b/backend/src/user/user.controller.spec.ts index b056220..1f38440 100644 --- a/backend/src/user/user.controller.spec.ts +++ b/backend/src/user/user.controller.spec.ts @@ -1,17 +1,17 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { InsuranceController } from './user.controller'; -import { InsuranceService } from './user.service'; +import { UserController } from './user.controller'; +import { UserService } from './user.service'; -describe('InsuranceController', () => { - let controller: InsuranceController; +describe('UserController', () => { + let controller: UserController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ - controllers: [InsuranceController], - providers: [InsuranceService], + controllers: [UserController], + providers: [UserService], }).compile(); - controller = module.get(InsuranceController); + controller = module.get(UserController); }); it('should be defined', () => {