Add abort stub in JSUnit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
9204ce7d3d
commit
a938f0ea9d
|
@ -67,7 +67,8 @@ describe('OC.Upload tests', function() {
|
|||
files: [file],
|
||||
jqXHR: jqXHR,
|
||||
response: sinon.stub().returns(jqXHR),
|
||||
submit: sinon.stub()
|
||||
submit: sinon.stub(),
|
||||
abort: sinon.stub()
|
||||
};
|
||||
if (uploader.fileUploadParam.add.call(
|
||||
$dummyUploader[0],
|
||||
|
|
Loading…
Reference in New Issue