diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-04-24 13:47:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 13:47:46 +0200 |
commit | 97c27395aaddf974ad341f30e43b8554778c4ffe (patch) | |
tree | e2fa9edeba318009d8f0ef4155f2bcb40f5e0201 /apps/files_external | |
parent | 42e805f0578b95206fdddabfe6234b0880c27b1e (diff) | |
parent | 2317d7bb497cce3e5731dd43e2e69b9d3e780bb0 (diff) | |
download | nextcloud-server-97c27395aaddf974ad341f30e43b8554778c4ffe.tar.gz nextcloud-server-97c27395aaddf974ad341f30e43b8554778c4ffe.zip |
Merge pull request #4458 from nextcloud/fix/sinon-stub-deprecation-warnings
Fix sinon.stub deprecation warnings
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/tests/js/settingsSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index 2639f634b26..d6b96a47189 100644 --- a/apps/files_external/tests/js/settingsSpec.js +++ b/apps/files_external/tests/js/settingsSpec.js @@ -15,7 +15,7 @@ describe('OCA.External.Settings tests', function() { beforeEach(function() { clock = sinon.useFakeTimers(); - select2Stub = sinon.stub($.fn, 'select2', function(args) { + select2Stub = sinon.stub($.fn, 'select2').callsFake(function(args) { if (args === 'val') { return select2ApplicableUsers; } |