diff options
author | cyBerta <cyberta@riseup.net> | 2017-10-28 20:41:05 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2017-10-28 20:41:05 +0200 |
commit | 68bc106ee872b13830dfa5fa9794f7cecb306d8e (patch) | |
tree | 2136a5de03072b9b2e28fd6699cfbd7aecbe812a /app/src/test/java/se/leap | |
parent | c37149dec7dbc2ff2bccfa643792080c3c86ce18 (diff) |
#8757 refactores ProviderAPI for insecure flavor, fixes tests, renames confusing constants, updates robotium
Diffstat (limited to 'app/src/test/java/se/leap')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java | 2 |
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 e6a67392..833346fa 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java @@ -44,7 +44,7 @@ public class GatewaysManagerTest { when(sharedPreferences.getString(eq(Constants.PRIVATE_KEY), anyString())).thenReturn(secrets.getString(Constants.PRIVATE_KEY)); when(sharedPreferences.getString(eq(Provider.CA_CERT), anyString())).thenReturn(secrets.getString(Provider.CA_CERT)); - when(sharedPreferences.getString(eq(Constants.CERTIFICATE), anyString())).thenReturn(secrets.getString(Constants.CERTIFICATE)); + when(sharedPreferences.getString(eq(Constants.VPN_CERTIFICATE), anyString())).thenReturn(secrets.getString(Constants.VPN_CERTIFICATE)); when(mockContext.getSharedPreferences(anyString(), anyInt())).thenReturn(sharedPreferences); |