Add find endpoint tests

This commit is contained in:
adrinr 2023-03-13 17:44:29 +01:00
parent 263d3613be
commit a509dc1739
1 changed files with 9 additions and 0 deletions

View File

@ -57,6 +57,15 @@ export class ScimUsersAPI extends TestAPI {
return res.body as ScimUserResponse
}
find = async (id: string, requestSettings?: Partial<RequestSettings>) => {
const res = await this.#createRequest(
`/api/global/scim/v2/users/${id}`,
"get",
requestSettings
)
return res.body as ScimUser
}
post = async (
{
body,