Commit 352ee4fb authored by lucas.parsy's avatar lucas.parsy

corrected 2 jslint errors in gdrivestorage test file

parent b0e565a1
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
expect(3); expect(3);
this.jio[fun]("inexistent", encl ? "enclosure" : undefined, this.jio[fun]("inexistent", encl ? "enclosure" : undefined,
blob ? blob : undefined) blob || undefined)
.fail(function (error) { .fail(function (error) {
ok(error instanceof jIO.util.jIOError); ok(error instanceof jIO.util.jIOError);
equal(error.message, "Cannot find document: inexistent"); equal(error.message, "Cannot find document: inexistent");
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
}); });
test("post with invalid credentials", function () { test("post with invalid credentials", function () {
var puturl = domain + "/upload/drive/v2/files?uploadType" + var puturl = domain + "/upload/drive/v2/files?uploadType" +
"=multipart&access_token=" + token; "=multipart&access_token=" + token;
this.server.respondWith("POST", puturl, [401, { this.server.respondWith("POST", puturl, [401, {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment