You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2023/01/19 17:24:52 UTC

[cordova-plugin-file] branch master updated: spec(android): fix spec based on testing environment (#554)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git


The following commit(s) were added to refs/heads/master by this push:
     new b32be30  spec(android): fix spec based on testing environment (#554)
b32be30 is described below

commit b32be30e4bd012f9d9568a9cc11926b2ad6c14f7
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Fri Jan 20 02:24:46 2023 +0900

    spec(android): fix spec based on testing environment (#554)
---
 tests/tests.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index 671acc8..16ac005 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -3438,8 +3438,9 @@ exports.defineAutoTests = function () {
             var pathExpect = 'file://';
 
             if (cordova.platformId === 'android') {
-                // Starting from Cordova-Android 10.x, the app content is served from the https scheme
-                pathExpect = 'https://';
+                // From Cordova-Android 10.x, app content is served from the "https" scheme by default
+                // The paramedic plugin changes the scheme to http to avoid ssl.
+                pathExpect = 'http://';
             } else if (isChrome) {
                 pathExpect = 'filesystem:http://';
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org