From 8b866a53c8c39885ef1a419f6de6f3f7416020ab Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 3 Jan 2024 12:11:25 +0100 Subject: [PATCH] Clean --- packages/worker/src/api/routes/global/tests/auth.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/worker/src/api/routes/global/tests/auth.spec.ts b/packages/worker/src/api/routes/global/tests/auth.spec.ts index e984649507..d280e3b5f1 100644 --- a/packages/worker/src/api/routes/global/tests/auth.spec.ts +++ b/packages/worker/src/api/routes/global/tests/auth.spec.ts @@ -263,9 +263,8 @@ describe("/api/global/auth", () => { // convert to account owner now that password has been requested const account: CloudAccount = { ...structures.accounts.ssoAccount(), - budibaseUserId: user._id!, + budibaseUserId: "budibaseUserId", email: user.email, - tenantId: config.getTenantId(), } mocks.accounts.getAccountByTenantId.mockReturnValueOnce( Promise.resolve(account)