1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 04:14:04 +00:00

Add changeLoginPasswordService in test.

This commit is contained in:
Miles Blackwood
2025-06-12 17:24:34 -04:00
parent 6630cbc5cd
commit 6133e330e1

View File

@@ -23,6 +23,7 @@ import { FolderView } from "@bitwarden/common/vault/models/view/folder.view";
import { CipherService } from "@bitwarden/common/vault/services/cipher.service";
import { FolderService } from "@bitwarden/common/vault/services/folder/folder.service";
import { TaskService, SecurityTask } from "@bitwarden/common/vault/tasks";
import { ChangeLoginPasswordService } from "@bitwarden/vault";
import { BrowserApi } from "../../platform/browser/browser-api";
import { NotificationQueueMessageType } from "../enums/notification-queue-message-type.enum";
@@ -68,6 +69,7 @@ describe("NotificationBackground", () => {
const configService = mock<ConfigService>();
const accountService = mock<AccountService>();
const organizationService = mock<OrganizationService>();
const changeLoginPasswordService = mock<ChangeLoginPasswordService>();
const userId = "testId" as UserId;
const activeAccountSubject = new BehaviorSubject<{ id: UserId } & AccountInfo>({
@@ -98,6 +100,7 @@ describe("NotificationBackground", () => {
themeStateService,
userNotificationSettingsService,
taskService,
changeLoginPasswordService,
messagingService,
);
});