Merge pull request #9359 from nextcloud/stable12-9348
[stable12] Replace deprecated sinon reset() call with resetHistory()
This commit is contained in:
commit
056f62d232
|
@ -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…
Reference in New Issue