diff --git a/packages/worker/src/tests/api/scim/users.ts b/packages/worker/src/tests/api/scim/users.ts index 34fdf5f95a..3daf0f4fad 100644 --- a/packages/worker/src/tests/api/scim/users.ts +++ b/packages/worker/src/tests/api/scim/users.ts @@ -57,6 +57,15 @@ export class ScimUsersAPI extends TestAPI { return res.body as ScimUserResponse } + find = async (id: string, requestSettings?: Partial) => { + const res = await this.#createRequest( + `/api/global/scim/v2/users/${id}`, + "get", + requestSettings + ) + return res.body as ScimUser + } + post = async ( { body,