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 2021/09/24 04:15:24 UTC

[cordova-plugin-file-transfer] branch master updated: test: fix asset file paths (#313)

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 2ce746e  test: fix asset file paths (#313)
2ce746e is described below

commit 2ce746e0453d777a14f973eec0592622083e86e6
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Fri Sep 24 13:15:20 2021 +0900

    test: fix asset file paths (#313)
---
 tests/tests.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index 50b128a..3c225f2 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -563,7 +563,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.11 should call the error callback on abort()',
                     function (done) {
-                        var fileURL = 'http://cordova.apache.org/downloads/BlueZedEx.mp3';
+                        var fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         var specContext = this;
 
@@ -583,7 +583,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.9 should not leave partial file due to abort',
                     function (done) {
-                        var fileURL = 'http://cordova.apache.org/downloads/logos_2.zip';
+                        var fileURL = 'http://cordova.apache.org/static/downloads/logos.zip';
                         var specContext = this;
 
                         var fileSystemWin = function () {
@@ -631,7 +631,7 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.10 should be stopped by abort()',
                     function (done) {
-                        var fileURL = 'http://cordova.apache.org/downloads/BlueZedEx.mp3';
+                        var fileURL = 'http://cordova.apache.org/static/downloads/BlueZedEx.mp3';
                         fileURL = fileURL + '?q=' + new Date().getTime();
                         var specContext = this;
 

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