From 1765e10995aa1c436593a47d7e31f48255453ac2 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Fri, 9 Dec 2022 18:10:17 +0000 Subject: [PATCH] Remove toString --- .../internal-api/userManagement/userManagement.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa-core/src/tests/internal-api/userManagement/userManagement.spec.ts b/qa-core/src/tests/internal-api/userManagement/userManagement.spec.ts index 92ecf96258..e6277a5e7f 100644 --- a/qa-core/src/tests/internal-api/userManagement/userManagement.spec.ts +++ b/qa-core/src/tests/internal-api/userManagement/userManagement.spec.ts @@ -99,7 +99,7 @@ describe("Internal API - User Management & Permissions", () => { const body: User = { ...userInfoJson, roles: { - [app.appId?.toString() || ""]: "BASIC", + [app.appId]: "BASIC", } } await config.users.updateInfo(body) @@ -123,7 +123,7 @@ describe("Internal API - User Management & Permissions", () => { const body: User = { ...userInfoJson, roles: { - [app.appId?.toString() || ""]: "ADMIN", + [app.appId]: "ADMIN", } } await config.users.updateInfo(body) @@ -147,7 +147,7 @@ describe("Internal API - User Management & Permissions", () => { const body: User = { ...userInfoJson, roles: { - [app.appId?.toString() || ""]: "POWER", + [app.appId]: "POWER", } } await config.users.updateInfo(body)