From 5f176def8c12e044f1bd9a31155eeaeea5a132f6 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Tue, 20 Jan 2026 15:27:14 +0100 Subject: [PATCH] test(auth): add comment to clarify DTO usage in register test --- backend/src/auth/auth.controller.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/auth/auth.controller.spec.ts b/backend/src/auth/auth.controller.spec.ts index f8e68a4..3375ce0 100644 --- a/backend/src/auth/auth.controller.spec.ts +++ b/backend/src/auth/auth.controller.spec.ts @@ -75,6 +75,7 @@ describe("AuthController", () => { password: "password", username: "test", }; + // biome-ignore lint/suspicious/noExplicitAny: Necessary to avoid defining full DTO in test await controller.register(dto as any); expect(authService.register).toHaveBeenCalledWith(dto); });