mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-08 19:18:02 +01:00
fix cipher service test
This commit is contained in:
parent
156c58fd94
commit
230532875b
@ -41,8 +41,8 @@ describe("Cipher Service", () => {
|
||||
searchService = Substitute.for<SearchService>();
|
||||
encryptService = Substitute.for<EncryptService>();
|
||||
|
||||
cryptoService.encryptToBytes(Arg.any(), Arg.any()).resolves(ENCRYPTED_BYTES);
|
||||
cryptoService.encrypt(Arg.any(), Arg.any()).resolves(new EncString(ENCRYPTED_TEXT));
|
||||
encryptService.encryptToBytes(Arg.any(), Arg.any()).resolves(ENCRYPTED_BYTES);
|
||||
encryptService.encrypt(Arg.any(), Arg.any()).resolves(new EncString(ENCRYPTED_TEXT));
|
||||
|
||||
cipherService = new CipherService(
|
||||
cryptoService,
|
||||
|
Loading…
Reference in New Issue
Block a user