diff options
author | cyBerta <cyberta@riseup.net> | 2022-08-07 18:05:20 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-08-07 18:05:20 +0200 |
commit | a457170cf50138104b5215d8affae0bc9874867c (patch) | |
tree | 90ab7bf0333d98ca477e22f532297b57858dccc8 /app/src/test/java/se/leap/bitmaskclient/testutils | |
parent | cc354bc34d4c801242eee89a416b088934f9935c (diff) |
set riseup's main_url to black.riseup.net while still showing riseup.net as domain in the UI
Diffstat (limited to 'app/src/test/java/se/leap/bitmaskclient/testutils')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/testutils/MockHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/testutils/MockHelper.java b/app/src/test/java/se/leap/bitmaskclient/testutils/MockHelper.java index a455a4bf..c6ba1e6f 100644 --- a/app/src/test/java/se/leap/bitmaskclient/testutils/MockHelper.java +++ b/app/src/test/java/se/leap/bitmaskclient/testutils/MockHelper.java @@ -425,6 +425,7 @@ public class MockHelper { when(ConfigHelper.timezoneDistance(anyInt(), anyInt())).thenCallRealMethod(); when(ConfigHelper.isIPv4(anyString())).thenCallRealMethod(); when(ConfigHelper.isDefaultBitmask()).thenReturn(true); + when(ConfigHelper.getDomainFromMainURL(anyString())).thenCallRealMethod(); when(ConfigHelper.parseRsaKeyFromString(anyString())).thenReturn(new RSAPrivateKey() { @Override public BigInteger getPrivateExponent() { |