mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 11:13:44 +00:00
test(browser-approval): [PM-23620] Auth Request Answering Service - Removed unneded test.
This commit is contained in:
@@ -127,17 +127,5 @@ describe("AuthRequestAnsweringService", () => {
|
||||
|
||||
expect(systemNotificationsService.create).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("creates a notification when force set password is required", async () => {
|
||||
platformUtilsService.isPopupOpen.mockResolvedValue(true);
|
||||
authService.activeAccountStatus$ = of(AuthenticationStatus.Unlocked);
|
||||
(masterPasswordService.forceSetPasswordReason$ as jest.Mock).mockReturnValue(
|
||||
of(ForceSetPasswordReason.AdminForcePasswordReset),
|
||||
);
|
||||
|
||||
await sut.receivedPendingAuthRequest(userId, authRequestId);
|
||||
|
||||
expect(systemNotificationsService.create).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user