From b9c3aa2d11d63d690e6d791e4add289b51117ace Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 21 Oct 2019 19:29:33 +0200 Subject: fix flaky GatewaysManagerTest --- app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java | 1 + 1 file changed, 1 insertion(+) 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()); } -- cgit v1.2.3