CB-9385 Return FILE_NOT_FOUND_ERR when receiving 404 code on iOS

Added a corresponding test case
This commit is contained in:
daserge
2015-10-15 19:17:27 +03:00
parent c0b3122e74
commit 83ee62514a
+1
View File
@@ -501,6 +501,7 @@ exports.defineAutoTests = function () {
expect(error.http_status).not.toBe(401, "Ensure " + fileURL + " is in the white list");
expect(error.http_status).toBe(404);
expect(error.code).toBe(FileTransferError.FILE_NOT_FOUND_ERR);
done();
};