1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00
This commit is contained in:
Adria Navarro 2024-03-08 12:42:18 +01:00
parent d035f19b64
commit 65222c3b2e

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,