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/09/05 00:02:08 UTC

[cordova-plugin-file-transfer] branch master updated: fix(tests): Use https on file urls (#372)

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-transfer.git


The following commit(s) were added to refs/heads/master by this push:
     new dd9e922  fix(tests): Use https on file urls (#372)
dd9e922 is described below

commit dd9e922c5978d0a40129d7d50d60031f7d9edb23
Author: jcesarmobile <jc...@gmail.com>
AuthorDate: Tue Sep 5 02:02:02 2023 +0200

    fix(tests): Use https on file urls (#372)
---
 tests/tests.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index d5c6b9b..9fc6a23 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -554,7 +554,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.11 should call the error callback on abort()',
                     function (done) {
-                        let fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
+                        let fileURL = 'https://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         const specContext = this;
 
@@ -574,7 +574,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.9 should not leave partial file due to abort',
                     function (done) {
-                        const fileURL = 'http://cordova.apache.org/static/downloads/logos.zip';
+                        const fileURL = 'https://cordova.apache.org/static/downloads/logos.zip';
                         const specContext = this;
 
                         const fileSystemWin = function () {
@@ -622,7 +622,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.10 should be stopped by abort()',
                     function (done) {
-                        let fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
+                        let fileURL = 'https://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         const specContext = this;
 
@@ -760,7 +760,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.17 progress should work with gzip encoding',
                     function (done) {
-                        const fileURL = 'http://www.apache.org/';
+                        const fileURL = 'https://www.apache.org/';
                         const specContext = this;
 
                         const downloadWin = function (entry) {
@@ -1766,7 +1766,7 @@ exports.defineAutoTests = function () {
 exports.defineManualTests = function (contentEl, createActionButton) {
     'use strict';
 
-    const imageURL = 'http://apache.org/images/feather-small.gif';
+    const imageURL = 'https://apache.org/images/feather-small.gif';
     const videoURL = 'http://techslides.com/demos/sample-videos/small.mp4';
 
     function clearResults () {


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