summaryrefslogtreecommitdiff
path: root/app/src/sharedTest/java
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2020-01-23 00:56:50 -0600
committercyberta <cyberta@riseup.net>2020-01-23 00:56:50 -0600
commit0375f0eccdf2b22a47e0089b4a1868c3a54a527a (patch)
treea6b568d54b4cf3c7b53c0c5af30f8e5da15298f5 /app/src/sharedTest/java
parent42b794a24f7b47910d595e713f29db85e3d0da3d (diff)
add api ip to provider class, implement ip lookup based on given provider host name
Diffstat (limited to 'app/src/sharedTest/java')
-rw-r--r--app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java2
1 files changed, 1 insertions, 1 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 89833393..c6f4db38 100644
--- a/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java
+++ b/app/src/sharedTest/java/se.leap.bitmaskclient/testutils/TestSetupHelper.java
@@ -70,7 +70,7 @@ public class TestSetupHelper {
try {
Provider p = new Provider(
- new URL(domain),
+ domain,
providerIp,
getInputAsString(TestSetupHelper.class.getClassLoader().getResourceAsStream(caCertFile)),
getInputAsString(TestSetupHelper.class.getClassLoader().getResourceAsStream(providerJson))