aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-04-30 13:52:58 +0200
committerJulius Härtl <jus@bitgrid.net>2018-04-30 13:52:58 +0200
commit16865e59dd084953659ef5ea75b1cb4f796af6b4 (patch)
treea201761e66a2022304a5b517a75a4ed61cb5034e /settings
parentb87b0689c51350fba3178f1520d27fb118a34504 (diff)
downloadnextcloud-server-16865e59dd084953659ef5ea75b1cb4f796af6b4.tar.gz
nextcloud-server-16865e59dd084953659ef5ea75b1cb4f796af6b4.zip
Replace deprecated sinon reset() call with resetHistory()
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings')
-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');