sin archivos no necesarios
This commit is contained in:
parent
821642c6fd
commit
f26903d2d0
@ -1,18 +0,0 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { InstitucionUsuarioController } from './institucion-usuario.controller';
|
||||
|
||||
describe('InstitucionUsuarioController', () => {
|
||||
let controller: InstitucionUsuarioController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [InstitucionUsuarioController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<InstitucionUsuarioController>(InstitucionUsuarioController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
@ -1,9 +0,0 @@
|
||||
import { Controller } from '@nestjs/common';
|
||||
import { AuthGuard } from '@nestjs/passport';
|
||||
import { Serealize } from '../interceptors/serialize.interceptor';
|
||||
import { InstitucionUsuarioService } from './institucion-usuario.service';
|
||||
|
||||
@Controller('institucion-usuario')
|
||||
export class InstitucionUsuarioController {
|
||||
constructor(private institucionUsuarioService: InstitucionUsuarioService) {}
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { PassportModule } from '@nestjs/passport';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { InstitucionUsuarioController } from './institucion-usuario.controller';
|
||||
import { InstitucionUsuarioService } from './institucion-usuario.service';
|
||||
import { InstitucionUsuario } from './entity/institucion-usuario.entity';
|
||||
|
||||
@ -10,7 +9,6 @@ import { InstitucionUsuario } from './entity/institucion-usuario.entity';
|
||||
PassportModule.register({ defaultStrategy: 'jwt' }),
|
||||
TypeOrmModule.forFeature([InstitucionUsuario]),
|
||||
],
|
||||
controllers: [InstitucionUsuarioController],
|
||||
providers: [InstitucionUsuarioService],
|
||||
exports: [InstitucionUsuarioService],
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user