Replace deprecated sinon reset() call with resetHistory()

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/9348/head
Julius Härtl 8 years ago
parent b87b0689c5
commit 16865e59dd
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      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');

Loading…
Cancel
Save