diff options
author | cyBerta <cyberta@riseup.net> | 2021-11-12 00:20:06 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-12 00:20:06 +0100 |
commit | 1629284074ed2dc3080a676b65b189cda4a02ed7 (patch) | |
tree | 114458787c4a99505447cacf46110506f4fc15c7 | |
parent | 0728a708d8a4d7abc9cb28a0c19a8856b3b285d4 (diff) |
fix tests
-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 |