diff options
author | cyberta <cyberta@riseup.net> | 2022-08-07 21:41:16 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-08-07 21:41:16 +0000 |
commit | 8d06c86a2fedf7a758801ac0b029b53b54977bd7 (patch) | |
tree | f415af41a05c766846d83c2b5d8de0ec40325ef1 /app/src/test/java/se/leap/bitmaskclient/testutils | |
parent | b1cb49a2f78c80db0b3fa037a0b4e3c1c9c7dd61 (diff) | |
parent | 6e824a7bf5b127239d838a64a98c45c5d20e7e05 (diff) |
Merge branch 'bugfix_branch' into 'master'
Bugfixes and more
Closes #9110
See merge request leap/bitmask_android!205
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() { |