From 230532875b1b011a87206bf24c12c45ea85575ad Mon Sep 17 00:00:00 2001 From: Jacob Fink Date: Tue, 27 Jun 2023 10:42:42 -0400 Subject: [PATCH] fix cipher service test --- libs/common/src/vault/services/cipher.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/common/src/vault/services/cipher.service.spec.ts b/libs/common/src/vault/services/cipher.service.spec.ts index 08bda060ab..16c94da23f 100644 --- a/libs/common/src/vault/services/cipher.service.spec.ts +++ b/libs/common/src/vault/services/cipher.service.spec.ts @@ -41,8 +41,8 @@ describe("Cipher Service", () => { searchService = Substitute.for(); encryptService = Substitute.for(); - 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,