From 342efa64b3844311a8cbdb162442d5ea61d01d29 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 27 Jul 2022 14:45:55 +0100 Subject: [PATCH] fix test naming --- packages/worker/src/api/routes/tests/users.spec.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/worker/src/api/routes/tests/users.spec.js b/packages/worker/src/api/routes/tests/users.spec.js index 1b039b5827..5813dd3852 100644 --- a/packages/worker/src/api/routes/tests/users.spec.js +++ b/packages/worker/src/api/routes/tests/users.spec.js @@ -1,6 +1,5 @@ jest.mock("nodemailer") const { config, request, mocks, structures } = require("../../../tests") -const { cr } = require("./groups.spec") const sendMailMock = mocks.email.mock() const { events } = require("@budibase/backend-core") describe("/api/global/users", () => { @@ -132,9 +131,9 @@ describe("/api/global/users", () => { it("should be able to bulkCreate users with different permissions", async () => { jest.clearAllMocks() - const builder = structures.users.builderUser({ email: "basic@test.com" }) - const admin = structures.users.adminUser({ email: "admin@test.com" }) - const user = structures.users.user({ email: "user@test.com" }) + const builder = structures.users.builderUser({ email: "bulkbasic@test.com" }) + const admin = structures.users.adminUser({ email: "bulkadmin@test.com" }) + const user = structures.users.user({ email: "bulkuser@test.com" }) let toCreate = { users: [builder, admin, user], groups: [] } await bulkCreateUsers(toCreate)