summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-04-30 14:54:34 +0200
committerGitHub <noreply@github.com>2018-04-30 14:54:34 +0200
commit49f26d1221216546ca21759ea975cf65ed846b46 (patch)
treea201761e66a2022304a5b517a75a4ed61cb5034e
parentb87b0689c51350fba3178f1520d27fb118a34504 (diff)
parent16865e59dd084953659ef5ea75b1cb4f796af6b4 (diff)
downloadnextcloud-server-49f26d1221216546ca21759ea975cf65ed846b46.tar.gz
nextcloud-server-49f26d1221216546ca21759ea975cf65ed846b46.zip
Merge pull request #9348 from nextcloud/fix-js-tests
Replace deprecated sinon reset() call with resetHistory()
-rw-r--r--settings/tests/js/users/deleteHandlerSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/tests/js/users/deleteHandlerSpec.js b/settings/tests/js/users/deleteHandlerSpec.js
index 3e7f768e519..98530c47eed 100644
--- a/settings/tests/js/users/deleteHandlerSpec.js
+++ b/settings/tests/js/users/deleteHandlerSpec.js
@@ -79,7 +79,7 @@ describe('DeleteHandler tests', function() {
expect(showNotificationSpy.calledOnce).toEqual(true);
expect(showNotificationSpy.getCall(0).args[0]).toEqual('removed some_uid entry');
- showNotificationSpy.reset();
+ showNotificationSpy.resetHistory();
handler.mark('some_other_uid');