summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-23 12:34:18 +0100
committercyBerta <cyberta@riseup.net>2021-11-23 13:05:40 +0100
commit9317eea480bce1442ad91600917730559b94753d (patch)
treed4facc0e23d5cda2a9c420348a915ec9e145188d /app/src
parent829849c074d397ceba59c89fe4be0bd65ea49f6f (diff)
fix ProviderApiManagerTest
Diffstat (limited to 'app/src')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
index 2b1dc2ef..5bed679b 100644
--- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
@@ -112,10 +112,11 @@ public class ProviderApiManagerTest {
Throwable startTorServiceException;
boolean hasNetworkConnection;
TestProviderApiServiceCallback() {
- new TestProviderApiServiceCallback(null, true);
+ this(null, true);
}
TestProviderApiServiceCallback(@Nullable Throwable startTorServiceException, boolean hasNetworkConnection) {
this.startTorServiceException = startTorServiceException;
+ this.hasNetworkConnection = hasNetworkConnection;
}
@Override