mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 16:48:59 -04:00
Merge pull request #9348 from nextcloud/fix-js-tests
Replace deprecated sinon reset() call with resetHistory()
This commit is contained in:
commit
49f26d1221
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue