From 9f9c31868de851b685f2fa06746a2fc2b59c0142 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Sat, 23 Aug 2014 12:13:28 +0200 Subject: tests: fix non-deterministic testMasterModify --- .../java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenKeychain-Test/src/test/java/org') 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); -- cgit v1.2.3