From 9317eea480bce1442ad91600917730559b94753d Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 23 Nov 2021 12:34:18 +0100 Subject: fix ProviderApiManagerTest --- .../test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/test/java') 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 -- cgit v1.2.3