From 65222c3b2e1be21d2fc78f8bd17dbc23e2974632 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 8 Mar 2024 12:42:18 +0100 Subject: [PATCH] Clean --- packages/worker/src/api/routes/global/tests/scim.spec.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/worker/src/api/routes/global/tests/scim.spec.ts b/packages/worker/src/api/routes/global/tests/scim.spec.ts index 9b50e3e70c..3d5a884579 100644 --- a/packages/worker/src/api/routes/global/tests/scim.spec.ts +++ b/packages/worker/src/api/routes/global/tests/scim.spec.ts @@ -782,8 +782,6 @@ describe("scim", () => { }) it("creating an external group that conflicts an internal one syncs the existing group", async () => { - mocks.licenses.useGroups() - const groupToSave = structures.userGroups.userGroup() const { body: internalGroup } = await config.api.groups.saveGroup( groupToSave @@ -809,12 +807,8 @@ describe("scim", () => { }) it("a group cannot be SCIM synchronised with another SCIM group", async () => { - mocks.licenses.useGroups() - const groupToSave = structures.userGroups.userGroup() - const { body: internalGroup } = await config.api.groups.saveGroup( - groupToSave - ) + await config.api.groups.saveGroup(groupToSave) const createGroupRequest = structures.scim.createGroupRequest({ displayName: groupToSave.name,