Merge pull request #9431 from nextcloud/stable12-9407
[12] Fix jsunit tests
This commit is contained in:
commit
7197e9f3b6
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue