From f3b3b5f2d08b4c215f0c50e1a314d5ab00ab1137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 30 Apr 2018 13:52:58 +0200 Subject: [PATCH] Replace deprecated sinon reset() call with resetHistory() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/tests/js/users/deleteHandlerSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/tests/js/users/deleteHandlerSpec.js b/settings/tests/js/users/deleteHandlerSpec.js index 3e7f768e51..98530c47ee 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');