From dd623972268c220a14125d6d02386cb43ac779ce Mon Sep 17 00:00:00 2001 From: Maciej Zieniuk Date: Tue, 25 Mar 2025 19:14:30 +0000 Subject: [PATCH] cli build fix --- apps/cli/src/commands/convert-to-key-connector.command.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/cli/src/commands/convert-to-key-connector.command.spec.ts b/apps/cli/src/commands/convert-to-key-connector.command.spec.ts index f86fcafa551..59be187c1c1 100644 --- a/apps/cli/src/commands/convert-to-key-connector.command.spec.ts +++ b/apps/cli/src/commands/convert-to-key-connector.command.spec.ts @@ -103,8 +103,6 @@ describe("ConvertToKeyConnectorCommand", () => { expect(response).not.toBeNull(); expect(response.success).toEqual(true); expect(keyConnectorService.migrateUser).toHaveBeenCalledWith(userId); - expect(keyConnectorService.removeConvertAccountRequired).toHaveBeenCalledWith(userId); - expect(keyConnectorService.setUsesKeyConnector).toHaveBeenCalledWith(true, userId); expect(environmentService.setEnvironment).toHaveBeenCalledWith(Region.SelfHosted, { keyConnector: organization.keyConnectorUrl, } as Urls); @@ -137,7 +135,6 @@ describe("ConvertToKeyConnectorCommand", () => { expect(response).not.toBeNull(); expect(response.success).toEqual(true); expect(organizationApiService.leave).toHaveBeenCalledWith(organization.id); - expect(keyConnectorService.removeConvertAccountRequired).toHaveBeenCalledWith(userId); }); }); });