mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 22:44:11 +00:00
Fixed test
This commit is contained in:
@@ -3,7 +3,6 @@ import { Subject } from "rxjs";
|
||||
|
||||
import { CollectionService } from "@bitwarden/admin-console/common";
|
||||
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
||||
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
|
||||
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
|
||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||
import { StateService } from "@bitwarden/common/platform/abstractions/state.service";
|
||||
@@ -30,12 +29,12 @@ describe("ForegroundSyncService", () => {
|
||||
const cipherService = mock<CipherService>();
|
||||
const collectionService = mock<CollectionService>();
|
||||
const apiService = mock<ApiService>();
|
||||
const accountService = mock<AccountService>();
|
||||
const accountService = mockAccountServiceWith(userId);
|
||||
const authService = mock<AuthService>();
|
||||
const sendService = mock<InternalSendService>();
|
||||
const sendApiService = mock<SendApiService>();
|
||||
const messageListener = mock<MessageListener>();
|
||||
const stateProvider = new FakeStateProvider(mockAccountServiceWith(userId));
|
||||
const stateProvider = new FakeStateProvider(accountService);
|
||||
|
||||
const sut = new ForegroundSyncService(
|
||||
stateService,
|
||||
|
||||
Reference in New Issue
Block a user