Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a5ef513 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Settings: Use non-dns for http test

parent e49306d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ public class WifiStatusTest extends Activity {
        HttpURLConnection urlConnection = null;
        try {
            // TODO: Hardcoded for now, make it UI configurable
            URL url = new URL("https://dns.quad9.net");
            URL url = new URL("https://quad9.net");
            urlConnection = (HttpURLConnection) url.openConnection();
            if (urlConnection.getResponseCode() == 200) {
                mHttpClientTestResult = "Pass";
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ public class QrCameraTest {

    @Test
    public void testDecode_PictureCaptured_QrCodeCorrectValue() {
        final String googleUrl = "http://dns.quad9.net";
        final String googleUrl = "http://quad9.net";

        try {
            final Bitmap bmp = QrCodeGenerator.encodeQrCode(googleUrl, 320);
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class VpnInfoPreferenceTest {

        final int helpUrlId = ResourcesUtils.getResourcesId(
                mContext, "string", "help_url_insecure_vpn");
        when(mResources.getString(helpUrlId)).thenReturn("https://dns.quad9.net/");
        when(mResources.getString(helpUrlId)).thenReturn("https://quad9.net/");

        mVpnInfoPreference = new VpnInfoPreference(mContext, mAttrs);
        LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class);