This commit is contained in:
Adria Navarro 2024-03-08 12:42:18 +01:00
parent d035f19b64
commit 65222c3b2e
1 changed files with 1 additions and 7 deletions

View File

@ -782,8 +782,6 @@ describe("scim", () => {
}) })
it("creating an external group that conflicts an internal one syncs the existing group", async () => { it("creating an external group that conflicts an internal one syncs the existing group", async () => {
mocks.licenses.useGroups()
const groupToSave = structures.userGroups.userGroup() const groupToSave = structures.userGroups.userGroup()
const { body: internalGroup } = await config.api.groups.saveGroup( const { body: internalGroup } = await config.api.groups.saveGroup(
groupToSave groupToSave
@ -809,12 +807,8 @@ describe("scim", () => {
}) })
it("a group cannot be SCIM synchronised with another SCIM group", async () => { it("a group cannot be SCIM synchronised with another SCIM group", async () => {
mocks.licenses.useGroups()
const groupToSave = structures.userGroups.userGroup() const groupToSave = structures.userGroups.userGroup()
const { body: internalGroup } = await config.api.groups.saveGroup( await config.api.groups.saveGroup(groupToSave)
groupToSave
)
const createGroupRequest = structures.scim.createGroupRequest({ const createGroupRequest = structures.scim.createGroupRequest({
displayName: groupToSave.name, displayName: groupToSave.name,