From e179d2ceee9e7c9fe5e7afd9326a90ad64a57fb1 Mon Sep 17 00:00:00 2001 From: Maximilian Harz Date: Wed, 11 Jun 2025 22:06:49 +0200 Subject: [PATCH] Fix notification middleware test --- .../src/middleware/notifications/notificationsMiddleware.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts index cf004ea52..15344ebe6 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts +++ b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts @@ -981,6 +981,7 @@ describe('notifications', () => { expect(sendChatMessageMailMock).toHaveBeenCalledTimes(1) expect(sendChatMessageMailMock).toHaveBeenCalledWith({ + roomId, email: 'user@example.org', senderUser: expect.objectContaining({ name: 'chatSender',