Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
1ee5e9fec5
commit
32f24d5911
|
@ -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