1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

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, {
query: { queryId: "wrong_id" },
})
expect(res.response).toEqual("Error: CouchDB error: missing")
expect(res.response).toBeDefined()
expect(res.success).toEqual(false)
})
})

View file

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