diff --git a/packages/backend/src/modules/mails/services/templates-renderers/usager-appointment-created/usagerAppointmentCreatedEmailRenderer.service.test.ts b/packages/backend/src/modules/mails/services/templates-renderers/usager-appointment-created/usagerAppointmentCreatedEmailRenderer.service.test.ts index 32028b5639..425a64ac02 100644 --- a/packages/backend/src/modules/mails/services/templates-renderers/usager-appointment-created/usagerAppointmentCreatedEmailRenderer.service.test.ts +++ b/packages/backend/src/modules/mails/services/templates-renderers/usager-appointment-created/usagerAppointmentCreatedEmailRenderer.service.test.ts @@ -2,8 +2,8 @@ import { readFile, writeFile } from "fs-extra"; import { join } from "path"; import { format } from "prettier"; -import { domifaConfig } from "../../../../config"; import { usagerAppointmentCreatedEmailRenderer } from "./usagerAppointmentCreatedEmailRenderer.service"; +import { domifaConfig } from "../../../../../config"; describe("usagerAppointmentCreatedEmailRenderer", () => { it("usagerAppointmentCreatedEmailRenderer render ", async () => { const { subject, text, html } = @@ -15,7 +15,7 @@ describe("usagerAppointmentCreatedEmailRenderer", () => { message: "Petit commentaire concernant le RV.", }); expect(subject).toEqual( - `[DOMIFA] Prise de rendez-vous entre le demandeur et un collaborateur` + "[DOMIFA] Prise de rendez-vous entre le demandeur et un collaborateur" ); expect(text).toContain("Paul"); expect(text).toContain("Smith"); diff --git a/packages/backend/src/modules/portail-admin/controllers/admin-structures/admin-structures.controller.spec.ts b/packages/backend/src/modules/portail-admin/controllers/admin-structures/admin-structures.controller.spec.ts index 1e5f518bad..30645aeec3 100644 --- a/packages/backend/src/modules/portail-admin/controllers/admin-structures/admin-structures.controller.spec.ts +++ b/packages/backend/src/modules/portail-admin/controllers/admin-structures/admin-structures.controller.spec.ts @@ -1,13 +1,13 @@ import { forwardRef } from "@nestjs/common"; import { InteractionsModule } from "../../../interactions/interactions.module"; import { AppLogsService } from "../../../app-logs/app-logs.service"; -import { SmsModule } from "../../../../sms/sms.module"; import { StructuresModule } from "../../../../structures/structure.module"; import { UsagersModule } from "../../../../usagers/usagers.module"; import { UsersModule } from "../../../../users/users.module"; import { AppTestContext, AppTestHelper } from "../../../../util/test"; import { AdminStructuresService } from "../../services/admin-structures.service"; import { AdminStructuresController } from "./admin-structures.controller"; +import { SmsModule } from "../../../sms/sms.module"; describe("Dashboard AdminStructuresController", () => { let controller: AdminStructuresController;