summaryrefslogtreecommitdiff
path: root/app/src/sharedTest
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-02-28 21:29:39 +0000
committercyberta <cyberta@riseup.net>2021-02-28 21:29:39 +0000
commit665b965194cf24d01b02789adf286950da2e91b2 (patch)
treeb31c4d03d8c2511371184d2fe059a94fb1fd2cae /app/src/sharedTest
parent8bb73089566e78a195f21f4746c9db416abf95a4 (diff)
parent401e28431fcd3a093aa34d429f5bc08abca5d422 (diff)
Merge branch 'beta-release' into 'master'
Beta release See merge request leap/bitmask_android!131
Diffstat (limited to 'app/src/sharedTest')
-rw-r--r--app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java b/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java
index 729c75ed..0fdc94ca 100644
--- a/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java
+++ b/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java
@@ -53,6 +53,11 @@ public class TestSetupHelper {
return getProvider(null, null, null, null, null, null, null, null);
}
+ public static Provider getConfiguredProviderAPIv4() {
+ return getProvider(null, null, null, null, null, "v4/riseup.net.json", "v4/riseup.service.json", null);
+ }
+
+
public static Provider getProvider(String domain, String geoipUrl, String providerIp, String providerApiIp, String caCertFile, String providerJson, String eipServiceJson, String geoIpJson) {
if (domain == null)
domain = "https://riseup.net";