Fixing test cases which were asserting on 404 messaging.
This commit is contained in:
parent
f752d2ce13
commit
19e2c0220a
|
@ -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,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue