diff --git a/test/androidTest/java/org/thoughtcrime/securesms/jobs/CleanPreKeysJobTest.java b/test/androidTest/java/org/thoughtcrime/securesms/jobs/CleanPreKeysJobTest.java index 584d30475d..72ef293f12 100644 --- a/test/androidTest/java/org/thoughtcrime/securesms/jobs/CleanPreKeysJobTest.java +++ b/test/androidTest/java/org/thoughtcrime/securesms/jobs/CleanPreKeysJobTest.java @@ -1,7 +1,5 @@ package org.thoughtcrime.securesms.jobs; -import android.test.AndroidTestCase; - import org.thoughtcrime.securesms.TextSecureTestCase; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.dependencies.AxolotlStorageModule; @@ -144,7 +142,7 @@ public class CleanPreKeysJobTest extends TextSecureTestCase { AxolotlStorageModule.SignedPreKeyStoreFactory provideSignedPreKeyStore() { return new AxolotlStorageModule.SignedPreKeyStoreFactory() { @Override - public SignedPreKeyStore create(MasterSecret masterSecret) { + public SignedPreKeyStore create() { return signedPreKeyStore; } }; diff --git a/test/androidTest/java/org/thoughtcrime/securesms/jobs/DeliveryReceiptJobTest.java b/test/androidTest/java/org/thoughtcrime/securesms/jobs/DeliveryReceiptJobTest.java index 0291bda2dc..7bcdc5136a 100644 --- a/test/androidTest/java/org/thoughtcrime/securesms/jobs/DeliveryReceiptJobTest.java +++ b/test/androidTest/java/org/thoughtcrime/securesms/jobs/DeliveryReceiptJobTest.java @@ -3,7 +3,6 @@ package org.thoughtcrime.securesms.jobs; import org.mockito.ArgumentCaptor; import org.mockito.Mockito; import org.thoughtcrime.securesms.TextSecureTestCase; -import org.thoughtcrime.securesms.crypto.MasterSecret; import org.whispersystems.textsecure.api.TextSecureMessageSender; import org.whispersystems.textsecure.api.push.TextSecureAddress; import org.whispersystems.textsecure.api.push.exceptions.NotFoundException; @@ -90,7 +89,7 @@ public class DeliveryReceiptJobTest extends TextSecureTestCase { @Provides TextSecureMessageSenderFactory provideTextSecureMessageSenderFactory() { return new TextSecureMessageSenderFactory() { @Override - public TextSecureMessageSender create(MasterSecret masterSecret) { + public TextSecureMessageSender create() { return textSecureMessageSender; } };