diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-04-30 13:52:58 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-04-30 13:52:58 +0200 |
commit | 16865e59dd084953659ef5ea75b1cb4f796af6b4 (patch) | |
tree | a201761e66a2022304a5b517a75a4ed61cb5034e /settings | |
parent | b87b0689c51350fba3178f1520d27fb118a34504 (diff) | |
download | nextcloud-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.js | 2 |
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'); |