Skip to content

Commit

Permalink
Merge pull request #9348 from nextcloud/fix-js-tests
Browse files Browse the repository at this point in the history
Replace deprecated sinon reset() call with resetHistory()
  • Loading branch information
skjnldsv authored Apr 30, 2018
2 parents b87b068 + 16865e5 commit 49f26d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/tests/js/users/deleteHandlerSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 49f26d1

Please sign in to comment.