From 3ce9d2a5df2a193fd85f82b8201de57f1026302b Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 18 Apr 2023 12:39:15 +0200 Subject: fix tests using mocked okhttpclient --- .../se/leap/bitmaskclient/providersetup/connectivity/DnsResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/connectivity/DnsResolver.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/connectivity/DnsResolver.java index f4654d0b..e8249692 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/connectivity/DnsResolver.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/connectivity/DnsResolver.java @@ -20,7 +20,7 @@ import se.leap.bitmaskclient.base.models.Provider; import se.leap.bitmaskclient.base.models.ProviderObservable; import se.leap.bitmaskclient.base.utils.IPAddress; -class DnsResolver implements Dns { +public class DnsResolver implements Dns { OkHttpClient dohHttpClient; boolean preferDoH; -- cgit v1.2.3