mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-01 07:42:17 +00:00
Don't unit test failed decryption message, that's annoying.
This commit is contained in:
parent
34b52c95fe
commit
42b2cfa3f0
@ -1117,7 +1117,7 @@ public class WalletTest {
|
|||||||
encryptedWallet.decrypt(wrongAesKey);
|
encryptedWallet.decrypt(wrongAesKey);
|
||||||
fail("Incorrectly decoded wallet with wrong password");
|
fail("Incorrectly decoded wallet with wrong password");
|
||||||
} catch (KeyCrypterException ede) {
|
} catch (KeyCrypterException ede) {
|
||||||
assertTrue("Wrong message in EncrypterDecrypterException", ede.getMessage().indexOf("Could not decrypt bytes") > -1);
|
// Expected.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user