mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 12:40:26 +00:00
cli build fix
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user