Skip to content

Commit

Permalink
(#186) corrije teste do controller do idoso
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-cella committed Nov 25, 2023
1 parent add180f commit 1099a1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/idoso/idoso.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { getRepositoryToken } from '@nestjs/typeorm';
import { CreateRotinaDto } from '../rotina/dto/create-rotina.dto';
import { Rotina } from '../rotina/entities/rotina.entity';
import { Filtering } from '../shared/decorators/filtrate.decorator';
import { Ordering, OrderParams } from '../shared/decorators/ordenate.decorator';
import {
Expand All @@ -25,6 +27,7 @@ describe('IdosoController', () => {
telefoneResponsavel: '123456789',
descricao: 'desc',
dataHora: new Date().toISOString() as any,
rotinas: new Rotina(new CreateRotinaDto()) as any,
};

const idoso = {
Expand Down

0 comments on commit 1099a1b

Please sign in to comment.