Updates
This commit is contained in:
parent
25276bafb2
commit
2476b64163
|
@ -7,13 +7,7 @@ import { TestConfiguration } from "../../../../../tests"
|
||||||
mocks.licenses.useScimIntegration()
|
mocks.licenses.useScimIntegration()
|
||||||
|
|
||||||
describe("/api/global/scim/v2/users", () => {
|
describe("/api/global/scim/v2/users", () => {
|
||||||
let mockedTime: Date
|
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
tk.reset()
|
|
||||||
mockedTime = new Date(structures.generator.timestamp())
|
|
||||||
tk.freeze(mockedTime)
|
|
||||||
|
|
||||||
mocks.licenses.useScimIntegration()
|
mocks.licenses.useScimIntegration()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -194,6 +188,9 @@ describe("/api/global/scim/v2/users", () => {
|
||||||
|
|
||||||
describe("no users exist", () => {
|
describe("no users exist", () => {
|
||||||
it("a new user can be created and persisted", async () => {
|
it("a new user can be created and persisted", async () => {
|
||||||
|
const mockedTime = new Date(structures.generator.timestamp())
|
||||||
|
tk.freeze(mockedTime)
|
||||||
|
|
||||||
const userData = {
|
const userData = {
|
||||||
externalId: structures.uuid(),
|
externalId: structures.uuid(),
|
||||||
email: structures.generator.email(),
|
email: structures.generator.email(),
|
||||||
|
|
Loading…
Reference in New Issue