1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Replace beforeEach for before All

This commit is contained in:
adrinr 2023-03-28 15:19:26 +01:00
parent 31f94f6c3c
commit 23088c036e

View file

@ -265,7 +265,7 @@ describe("scim", () => {
describe("GET /api/global/scim/v2/users/:id", () => {
let user: ScimUserResponse
beforeEach(async () => {
beforeAll(async () => {
const body = structures.scim.createUserRequest()
user = await config.api.scimUsersAPI.post({ body })
@ -569,7 +569,7 @@ describe("scim", () => {
describe("GET /api/global/scim/v2/groups/:id", () => {
let group: ScimGroupResponse
beforeEach(async () => {
beforeAll(async () => {
const body = structures.scim.createGroupRequest()
group = await config.api.scimGroupsAPI.post({ body })
@ -600,7 +600,7 @@ describe("scim", () => {
let group: ScimGroupResponse
beforeEach(async () => {
beforeAll(async () => {
const body = structures.scim.createGroupRequest()
group = await config.api.scimGroupsAPI.post({ body })