summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-21 23:26:21 +0200
committercyBerta <cyberta@riseup.net>2019-10-21 23:26:21 +0200
commit47cc9e59bb0bc95507c295d347cfae7c52f7e54b (patch)
treef78c70894fa246cd6e69a85e6940b9689d88cbec
parentb9c3aa2d11d63d690e6d791e4add289b51117ace (diff)
change gateway manager test - mocking method first
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java2
1 files changed, 1 insertions, 1 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 792636c7..b37b3474 100644
--- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java
@@ -100,8 +100,8 @@ public class GatewaysManagerTest {
@Test
public void testGatewayManagerFromCurrentProvider_noProvider_noGateways() {
- GatewaysManager gatewaysManager = new GatewaysManager(mockContext);
MockHelper.mockProviderObserver(null);
+ GatewaysManager gatewaysManager = new GatewaysManager(mockContext);
assertEquals(0, gatewaysManager.size());
}