mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-7223 spec.27 marked pending for wp8
since wp8 does not support custom headers
This commit is contained in:
@@ -669,6 +669,9 @@ exports.defineAutoTests = function () {
|
||||
ft.upload("/usr/local/bad/file/path.txt", remoteFile, uploadWin, uploadFail);
|
||||
});
|
||||
it("filetransfer.spec.27 should be able to set custom headers", function (done) {
|
||||
if (cordova.platformId === 'windowsphone') {
|
||||
pending();
|
||||
}
|
||||
var uploadFail = createFail(done, "Upload error callback should not have been called");
|
||||
var fileFail = createFail(done, "Error writing file to be uploaded");
|
||||
var remoteFile = "http://whatheaders.com";
|
||||
|
||||
Reference in New Issue
Block a user