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 () => {
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,