diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/tests/js/fileUploadSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/fileUploadSpec.js b/apps/files/tests/js/fileUploadSpec.js index 81a0a2df610..6dde2734f1d 100644 --- a/apps/files/tests/js/fileUploadSpec.js +++ b/apps/files/tests/js/fileUploadSpec.js @@ -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( |