Fix jsunit tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-05-07 11:19:50 +02:00
parent 1ee5e9fec5
commit 32f24d5911
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
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(