summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-07 11:19:50 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-07 11:19:50 +0200
commit951ac518e10715781664e901527aed872ced6474 (patch)
treeab7c96b009715c0bc5919cef209ec1db3968e5ef /apps
parent5484260569bb608b2f57ddfb6f13f86e6d245e70 (diff)
downloadnextcloud-server-951ac518e10715781664e901527aed872ced6474.tar.gz
nextcloud-server-951ac518e10715781664e901527aed872ced6474.zip
Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/tests/js/fileUploadSpec.js2
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(