Skip to content

Commit

Permalink
fix(tests): Use https on file urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Sep 4, 2023
1 parent 7715cc9 commit 789830d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 () {
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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 () {
Expand Down

0 comments on commit 789830d

Please sign in to comment.