diff --git a/packages/pro b/packages/pro index f8529e7a1c..70b9f4b263 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit f8529e7a1c37902e782469b4e19d70d63d603320 +Subproject commit 70b9f4b263cf0ed9d7f494c895a836caff77bad8 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 0c4a34be66..106dfb3b19 100644 --- a/packages/worker/src/api/routes/global/tests/scim.spec.ts +++ b/packages/worker/src/api/routes/global/tests/scim.spec.ts @@ -13,17 +13,11 @@ import { events } from "@budibase/backend-core" jest.setTimeout(30000) describe("scim", () => { - beforeAll(async () => { - tk.freeze(mocks.date.MOCK_DATE) - mocks.licenses.useScimIntegration() - - await config.setSCIMConfig(true) - }) - beforeEach(async () => { jest.resetAllMocks() tk.freeze(mocks.date.MOCK_DATE) mocks.licenses.useScimIntegration() + mocks.licenses.useGroups() await config.setSCIMConfig(true) }) @@ -718,7 +712,6 @@ describe("scim", () => { }) it("can fetch groups even if internal groups exist", async () => { - mocks.licenses.useGroups() await config.api.groups.saveGroup(structures.userGroups.userGroup()) await config.api.groups.saveGroup(structures.userGroups.userGroup())