1
0
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:
Patrick Pimentel
2025-08-20 19:42:25 -04:00
parent 05eec3fef1
commit 20daa16971

View File

@@ -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);
});
});
});