Merge pull request #9348 from nextcloud/fix-js-tests

Replace deprecated sinon reset() call with resetHistory()
This commit is contained in:
John Molakvoæ 2018-04-30 14:54:34 +02:00 committed by GitHub
commit 49f26d1221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');