diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-15 14:17:39 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-15 14:17:39 +0200 |
commit | 1f9bbff58d494c411637db043b2e1c1ab322280e (patch) | |
tree | f254d046bdcc8cf6bffdb24ee59b5375ff706d82 /OpenKeychain-Test | |
parent | e457d4c9097cb3f2e1c6305609cfacff1c5c38c2 (diff) | |
download | open-keychain-1f9bbff58d494c411637db043b2e1c1ab322280e.tar.gz open-keychain-1f9bbff58d494c411637db043b2e1c1ab322280e.tar.bz2 open-keychain-1f9bbff58d494c411637db043b2e1c1ab322280e.zip |
minor fix for passphrase test
Diffstat (limited to 'OpenKeychain-Test')
-rw-r--r-- | OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java index 21b2843d1..22c0df0fb 100644 --- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java +++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java @@ -955,8 +955,6 @@ public class PgpKeyOperationTest { CanonicalizedSecretKeyRing secretRing = new CanonicalizedSecretKeyRing(modified.getEncoded(), false, 0); EditKeyResult result = op.modifySecretKeyRing(secretRing, parcel, otherPassphrase2); Assert.assertTrue("key modification must succeed", result.success()); - Assert.assertTrue("log must contain a warning", - result.getLog().containsWarnings()); Assert.assertTrue("log must contain a failed passphrase change warning", result.getLog().containsType(LogType.MSG_MF_PASSPHRASE_FAIL)); } |