Fix notification middleware test

This commit is contained in:
Maximilian Harz 2025-06-11 22:06:49 +02:00
parent 34d22574e1
commit e179d2ceee

View File

@ -981,6 +981,7 @@ describe('notifications', () => {
expect(sendChatMessageMailMock).toHaveBeenCalledTimes(1)
expect(sendChatMessageMailMock).toHaveBeenCalledWith({
roomId,
email: 'user@example.org',
senderUser: expect.objectContaining({
name: 'chatSender',