Fixing test cases which were asserting on 404 messaging.

This commit is contained in:
mike12345567 2024-05-15 12:07:39 +01:00
parent f752d2ce13
commit 19e2c0220a
1 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ describe("scim", () => {
const response = await findScimUser(structures.uuid(), { expect: 404 }) const response = await findScimUser(structures.uuid(), { expect: 404 })
expect(response).toEqual({ expect(response).toEqual({
message: "missing", message: "CouchDB error: missing",
status: 404, status: 404,
}) })
}) })
@ -862,7 +862,7 @@ describe("scim", () => {
const response = await findScimGroup(structures.uuid(), { expect: 404 }) const response = await findScimGroup(structures.uuid(), { expect: 404 })
expect(response).toEqual({ expect(response).toEqual({
message: "missing", message: "CouchDB error: missing",
status: 404, status: 404,
}) })
}) })