From ced1dd95c73d5303355d40e79384f05aee34fd66 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 26 Jun 2023 16:35:16 +0100 Subject: [PATCH] Updating roles tests to make sure ID always valid. --- packages/server/src/tests/utilities/structures.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/tests/utilities/structures.ts b/packages/server/src/tests/utilities/structures.ts index 71f30f0074..31b052336e 100644 --- a/packages/server/src/tests/utilities/structures.ts +++ b/packages/server/src/tests/utilities/structures.ts @@ -263,7 +263,7 @@ export function basicLinkedRow( export function basicRole() { return { - name: "NewRole", + name: `NewRole_${utils.newid()}`, inherits: roles.BUILTIN_ROLE_IDS.BASIC, permissionId: permissions.BuiltinPermissionID.READ_ONLY, }