From b972a07e89b4b0b38a8b695878454accc79bc02d Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 8 Oct 2019 11:43:17 +0200 Subject: fixing tests --- app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/test/java') 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 46e166d4..12e95a47 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java @@ -50,7 +50,7 @@ public class GatewaysManagerTest { when(sharedPreferences.getString(eq(Constants.PROVIDER_VPN_CERTIFICATE), anyString())).thenReturn(secrets.getString(Constants.PROVIDER_VPN_CERTIFICATE)); - gatewaysManager = new GatewaysManager(sharedPreferences); + gatewaysManager = new GatewaysManager(mockContext, sharedPreferences); } @Test -- cgit v1.2.3