summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-21 19:29:33 +0200
committercyBerta <cyberta@riseup.net>2019-10-21 19:29:33 +0200
commitb9c3aa2d11d63d690e6d791e4add289b51117ace (patch)
tree9f4fae21e9d6a4bc10c13afe186ca3dc67a4f912 /app
parent752e2f57f8bd7f81dbd601a7dfa8a41eb42438ff (diff)
fix flaky GatewaysManagerTest
Diffstat (limited to 'app')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java
index d6a3956c..792636c7 100644
--- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java
@@ -101,6 +101,7 @@ public class GatewaysManagerTest {
@Test
public void testGatewayManagerFromCurrentProvider_noProvider_noGateways() {
GatewaysManager gatewaysManager = new GatewaysManager(mockContext);
+ MockHelper.mockProviderObserver(null);
assertEquals(0, gatewaysManager.size());
}