Tests
This commit is contained in:
parent
79e02373d9
commit
ca65e1d36b
|
@ -1 +1 @@
|
|||
Subproject commit f8529e7a1c37902e782469b4e19d70d63d603320
|
||||
Subproject commit 70b9f4b263cf0ed9d7f494c895a836caff77bad8
|
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in New Issue