diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-24 23:11:54 +0100 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-24 23:11:54 +0100 |
commit | fb2fa195bfff709af23d1394a3ff739ebc2d0ddd (patch) | |
tree | 3b3bb820f68521755f2a20942b90b119c68de92e /OpenKeychain-Test/src/test/java | |
parent | 0e0970c347f0a2f78f190d6d26205178037f5095 (diff) | |
download | open-keychain-fb2fa195bfff709af23d1394a3ff739ebc2d0ddd.tar.gz open-keychain-fb2fa195bfff709af23d1394a3ff739ebc2d0ddd.tar.bz2 open-keychain-fb2fa195bfff709af23d1394a3ff739ebc2d0ddd.zip |
allow explicit re-certification in SaveKeyringParcel
Diffstat (limited to 'OpenKeychain-Test/src/test/java')
-rw-r--r-- | OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 3 |
1 files changed, 2 insertions, 1 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 d4fdf14d7..73b5c4be5 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 @@ -659,7 +659,8 @@ public class PgpKeyOperationTest { { // re-add second subkey parcel.reset(); - parcel.mChangeSubKeys.add(new SubkeyChange(keyId, null, null)); + // re-certify the revoked subkey + parcel.mChangeSubKeys.add(new SubkeyChange(keyId, true)); modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB); |