diff --git a/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.spec.ts b/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.spec.ts index 80760eb5dec..ba02b962d9c 100644 --- a/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.spec.ts +++ b/apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.spec.ts @@ -4,13 +4,13 @@ import { MockProxy, mock } from "jest-mock-extended"; import { of } from "rxjs"; import { I18nPipe } from "@bitwarden/angular/platform/pipes/i18n.pipe"; -import { ModalService } from "@bitwarden/angular/services/modal.service"; import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { LogService } from "@bitwarden/common/platform/abstractions/log.service"; import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service"; import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction"; -import { PasswordRepromptService } from "@bitwarden/vault"; +import { DialogService } from "@bitwarden/components"; +import { DefaultCipherFormConfigService, PasswordRepromptService } from "@bitwarden/vault"; import { InactiveTwoFactorReportComponent } from "./inactive-two-factor-report.component"; import { cipherData } from "./reports-ciphers.mock"; @@ -39,8 +39,8 @@ describe("InactiveTwoFactorReportComponent", () => { useValue: organizationService, }, { - provide: ModalService, - useValue: mock(), + provide: DialogService, + useValue: mock(), }, { provide: LogService, @@ -58,6 +58,10 @@ describe("InactiveTwoFactorReportComponent", () => { provide: I18nService, useValue: mock(), }, + { + provide: DefaultCipherFormConfigService, + useValue: mock(), + }, ], schemas: [], }).compileComponents(); diff --git a/apps/web/src/app/tools/reports/pages/weak-passwords-report.component.spec.ts b/apps/web/src/app/tools/reports/pages/weak-passwords-report.component.spec.ts index bcace60ac0c..ab8dc6e9799 100644 --- a/apps/web/src/app/tools/reports/pages/weak-passwords-report.component.spec.ts +++ b/apps/web/src/app/tools/reports/pages/weak-passwords-report.component.spec.ts @@ -4,13 +4,13 @@ import { mock, MockProxy } from "jest-mock-extended"; import { of } from "rxjs"; import { I18nPipe } from "@bitwarden/angular/platform/pipes/i18n.pipe"; -import { ModalService } from "@bitwarden/angular/services/modal.service"; import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { PasswordStrengthServiceAbstraction } from "@bitwarden/common/tools/password-strength"; import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service"; import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction"; -import { PasswordRepromptService } from "@bitwarden/vault"; +import { DialogService } from "@bitwarden/components"; +import { DefaultCipherFormConfigService, PasswordRepromptService } from "@bitwarden/vault"; import { cipherData } from "./reports-ciphers.mock"; import { WeakPasswordsReportComponent } from "./weak-passwords-report.component"; @@ -45,8 +45,8 @@ describe("WeakPasswordsReportComponent", () => { useValue: organizationService, }, { - provide: ModalService, - useValue: mock(), + provide: DialogService, + useValue: mock(), }, { provide: PasswordRepromptService, @@ -60,6 +60,10 @@ describe("WeakPasswordsReportComponent", () => { provide: I18nService, useValue: mock(), }, + { + provide: DefaultCipherFormConfigService, + useValue: mock(), + }, ], schemas: [], }).compileComponents();