Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
None
-
None
Description
There is a file transfer plugin failure on wp8 platform:
cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.12 should get http status on failure Expected 3 to be 1. Error: Expected 3 to be 1. at stack (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11) at buildExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5) at expectationResultFactory (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:572:11) at addExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:321:5) at addExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:516:9) at Anonymous function (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7) at downloadFail (x-wmapp0:www/cdvtests/../plugins/cordova-plugin-file-transfer-tests/tests.js:507:25) at errorCallback (x-wmapp0:www/cdvtests/../plugins/cordova-plugin-file-transfer/www/FileTransfer.js:221:9) at callbackFromNative (x-wmapp0:www/cdvtests/../cordova.js:295:38) at callbackError (x-wmapp0:www/cdvtests/../cordova.js:282:9)
wp8 platform does not make a difference between 404 and unknown host so the plugin returns CONNECTION_ERR and not FILE_NOT_FOUND_ERR