Merge pull request #9407 from nextcloud/fix-jsunit

Fix jsunit tests
This commit is contained in:
John Molakvoæ 2018-05-07 12:16:07 +02:00 committed by GitHub
commit 94010e91d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ describe('OC.Upload tests', function() {
originalFiles: files,
files: [file],
jqXHR: jqXHR,
response: sinon.stub.returns(jqXHR),
response: sinon.stub().returns(jqXHR),
submit: sinon.stub()
};
if (uploader.fileUploadParam.add.call(