diff options
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 8 |
1 files changed, 7 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 d93d8553..33e727c9 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java @@ -121,7 +121,7 @@ public class ProviderApiManagerTest { } @Override - public void startTorService() throws InterruptedException, IllegalStateException { + public boolean startTorService() throws InterruptedException, IllegalStateException { if (startTorServiceException != null) { if (startTorServiceException instanceof InterruptedException) { throw (InterruptedException) startTorServiceException; @@ -130,6 +130,7 @@ public class ProviderApiManagerTest { throw (IllegalStateException) startTorServiceException; } } + return true; } @Override @@ -141,6 +142,11 @@ public class ProviderApiManagerTest { return 0; } + @Override + public boolean hasNetworkConnection() { + return true; + } + } @Before |