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: エリス <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]