Skip to content

Commit b32be30

Browse files
authored
spec(android): fix spec based on testing environment (apache#554)
1 parent 1601b60 commit b32be30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/tests.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3438,8 +3438,9 @@ exports.defineAutoTests = function () {
34383438
var pathExpect = 'file://';
34393439

34403440
if (cordova.platformId === 'android') {
3441-
// Starting from Cordova-Android 10.x, the app content is served from the https scheme
3442-
pathExpect = 'https://';
3441+
// From Cordova-Android 10.x, app content is served from the "https" scheme by default
3442+
// The paramedic plugin changes the scheme to http to avoid ssl.
3443+
pathExpect = 'http://';
34433444
} else if (isChrome) {
34443445
pathExpect = 'filesystem:http://';
34453446
}

0 commit comments

Comments
 (0)