diff --git a/src/structures/dto/structure.dto.ts b/src/structures/dto/structure.dto.ts index 00c08c0876982af873068762bf7f0f9da0b7b4ee..dc1133b8657d50249f39d5caf4f42ea3cff0e248 100644 --- a/src/structures/dto/structure.dto.ts +++ b/src/structures/dto/structure.dto.ts @@ -6,7 +6,6 @@ import { Week } from '../../shared/schemas/week.schema'; import { Address } from '../schemas/address.schema'; export class StructureDto { - numero: string; createdAt: Date; updatedAt: Date; @IsOptional() diff --git a/src/structures/structures.controller.spec.ts b/src/structures/structures.controller.spec.ts index 75a0d6d683a5ae566a94e109d3f3bef09c964e35..035b305d6c7ea88d6e87b687671e99b04b62c711 100644 --- a/src/structures/structures.controller.spec.ts +++ b/src/structures/structures.controller.spec.ts @@ -88,7 +88,6 @@ describe('AuthController', () => { const structureId = '1'; const res = await controller.update(structureId, { - numero: null, deletedAt: null, remoteAccompaniment: null, dataShareConsentDate: null, diff --git a/test/mock/data/structures.mock.data.ts b/test/mock/data/structures.mock.data.ts index 400aae0c88163cc466b04a1b49fed622f0ac8ad1..efe80a8813125f83543496e9733c6f3813749512 100644 --- a/test/mock/data/structures.mock.data.ts +++ b/test/mock/data/structures.mock.data.ts @@ -235,5 +235,4 @@ export const structureMockDto: StructureDto = { deletedAt: new Date(), remoteAccompaniment: true, dataShareConsentDate: new Date(), - numero: '', };