diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-23 12:13:28 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-23 12:13:28 +0200 |
commit | 9f9c31868de851b685f2fa06746a2fc2b59c0142 (patch) | |
tree | 8bc8d00950c3d922503597e3c73fdd90010bdd75 /OpenKeychain-Test/src | |
parent | 79c4d3ea49f059b9c11c11ff7be606e13a9e0362 (diff) | |
download | open-keychain-9f9c31868de851b685f2fa06746a2fc2b59c0142.tar.gz open-keychain-9f9c31868de851b685f2fa06746a2fc2b59c0142.tar.bz2 open-keychain-9f9c31868de851b685f2fa06746a2fc2b59c0142.zip |
tests: fix non-deterministic testMasterModify
Diffstat (limited to 'OpenKeychain-Test/src')
-rw-r--r-- | OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 1 |
1 files changed, 1 insertions, 0 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 ee312aedf..f6d993d6b 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 @@ -500,6 +500,7 @@ public class PgpKeyOperationTest { modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB); { + parcel.reset(); parcel.mChangeSubKeys.add(new SubkeyChange(keyId, null, expiry)); modified = applyModificationWithChecks(parcel, modified, onlyA, onlyB); |