1
0
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:
Jacob Fink 2023-06-27 10:42:42 -04:00
parent 156c58fd94
commit 230532875b
No known key found for this signature in database
GPG Key ID: C2F7ACF05859D008

View File

@ -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,