diff options
Diffstat (limited to 'OpenKeychain/src/test/java/org')
-rw-r--r-- | OpenKeychain/src/test/java/org/sufficientlysecure/keychain/operations/ExportTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/operations/ExportTest.java b/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/operations/ExportTest.java index abf55b71b..6fab979ed 100644 --- a/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/operations/ExportTest.java +++ b/OpenKeychain/src/test/java/org/sufficientlysecure/keychain/operations/ExportTest.java @@ -255,7 +255,7 @@ public class ExportTest { BackupOperation op = new BackupOperation(spyApplication, new ProviderHelper(RuntimeEnvironment.application), null); - BackupKeyringParcel parcel = new BackupKeyringParcel(null, + BackupKeyringParcel parcel = new BackupKeyringParcel( new long[] { mStaticRing1.getMasterKeyId() }, false, fakeOutputUri); ExportResult result = op.execute(parcel, null); @@ -314,10 +314,10 @@ public class ExportTest { BackupOperation op = new BackupOperation(spyApplication, new ProviderHelper(RuntimeEnvironment.application), null); - BackupKeyringParcel parcel = new BackupKeyringParcel(passphrase, + BackupKeyringParcel parcel = new BackupKeyringParcel( new long[] { mStaticRing1.getMasterKeyId() }, false, fakeOutputUri); - - ExportResult result = op.execute(parcel, null); + CryptoInputParcel inputParcel = new CryptoInputParcel(passphrase); + ExportResult result = op.execute(parcel, inputParcel); verify(mockResolver).openOutputStream(fakePipedUri); verify(mockResolver).openInputStream(fakePipedUri); |