Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Feb 6, 2025
1 parent 1ba8bf5 commit 7c1a32f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/tom-server/src/vault-api/middlewares/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ describe('Auth middleware', () => {
handler(mockRequest as Request, mockResponse as Response, nextFunction)
await new Promise(process.nextTick)
expect(idServer.db.insert).not.toHaveBeenCalled()
expect(spyOnLoggerWarn).toHaveBeenCalledWith('Bad token', userInfo)
expect(mockResponse.write).toHaveBeenCalledWith(
JSON.stringify(matrixUnauthorizedError)
)
Expand Down

0 comments on commit 7c1a32f

Please sign in to comment.