diff options
author | cyberta <cyberta@riseup.net> | 2017-11-01 05:43:36 -0700 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2017-11-01 05:43:36 -0700 |
commit | dac004b0e2fcebe06f39b8d855d6cdae1c5764fa (patch) | |
tree | 116faeebbda7e94ae28c33d15064e92831f7477f /app/src/test | |
parent | a07834375b76127d9ebabfda265386ecdc2ffc90 (diff) | |
parent | 5df197df4b82251467465815f503a2b38a36166b (diff) |
Merge branch '8757_login_fails' into 'master'
8757 login fails
See merge request leap/bitmask_android!14
Diffstat (limited to 'app/src/test')
-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); |