From ea4c3953754adc7ae5defe39c97c65627a439756 Mon Sep 17 00:00:00 2001 From: Bushstar Date: Fri, 13 Dec 2024 14:57:54 +0000 Subject: [PATCH] Fix tests --- tests/keymaster.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/keymaster.test.js b/tests/keymaster.test.js index aafbb499..da5e0121 100644 --- a/tests/keymaster.test.js +++ b/tests/keymaster.test.js @@ -147,7 +147,7 @@ describe('loadWallet', () => { throw new ExpectedExceptionError(); } catch (error) { expect(ok).toBe(true); - expect(error.message).toBe('KC_ENCRYPTED_PASSPHRASE not set'); + expect(error.message).toBe('Passphrase not set'); } }); @@ -303,7 +303,7 @@ describe('saveWallet', () => { await keymaster.saveWallet(mockWallet); throw new ExpectedExceptionError(); } catch (error) { - expect(error.message).toBe('KC_ENCRYPTED_PASSPHRASE not set'); + expect(error.message).toBe('Passphrase not set'); } });