Merge pull request #9431 from nextcloud/stable12-9407

[12] Fix jsunit tests
This commit is contained in:
Morris Jobke 2018-05-09 09:14:08 +02:00 committed by GitHub
commit 7197e9f3b6
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, originalFiles: files,
files: [file], files: [file],
jqXHR: jqXHR, jqXHR: jqXHR,
response: sinon.stub.returns(jqXHR), response: sinon.stub().returns(jqXHR),
submit: sinon.stub() submit: sinon.stub()
}; };
if (uploader.fileUploadParam.add.call( if (uploader.fileUploadParam.add.call(