Removing messaging check - not important.

This commit is contained in:
mike12345567 2024-05-15 12:14:21 +01:00
parent 19e2c0220a
commit 906e7686d6
2 changed files with 11 additions and 9 deletions

View File

@ -88,7 +88,7 @@ describe.each(
let res = await setup.runStep(setup.actions.EXECUTE_QUERY.stepId, { let res = await setup.runStep(setup.actions.EXECUTE_QUERY.stepId, {
query: { queryId: "wrong_id" }, query: { queryId: "wrong_id" },
}) })
expect(res.response).toEqual("Error: CouchDB error: missing") expect(res.response).toBeDefined()
expect(res.success).toEqual(false) expect(res.success).toEqual(false)
}) })
}) })

View File

@ -459,10 +459,11 @@ describe("scim", () => {
it("should return 404 when requesting unexisting user id", async () => { it("should return 404 when requesting unexisting user id", async () => {
const response = await findScimUser(structures.uuid(), { expect: 404 }) const response = await findScimUser(structures.uuid(), { expect: 404 })
expect(response).toEqual({ expect(response).toEqual(
message: "CouchDB error: missing", expect.objectContaining({
status: 404, status: 404,
}) })
)
}) })
}) })
@ -861,10 +862,11 @@ describe("scim", () => {
it("should return 404 when requesting unexisting group id", async () => { it("should return 404 when requesting unexisting group id", async () => {
const response = await findScimGroup(structures.uuid(), { expect: 404 }) const response = await findScimGroup(structures.uuid(), { expect: 404 })
expect(response).toEqual({ expect(response).toEqual(
message: "CouchDB error: missing", expect.objectContaining({
status: 404, status: 404,
}) })
)
}) })
it("should allow excluding members", async () => { it("should allow excluding members", async () => {