X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=129c9071f98178dd91fb110787959558715ecf68;hb=3ca7fccb306d0b23626befc3791ffa360b3db1e7;hp=f257cbfeeb0728af0b9b1bd135e49e7bb505d4c2;hpb=085b55f507dedc16016bb491d520c556acd60643;p=websub-hub diff --git a/test/stub-db.js b/test/stub-db.js index f257cbf..129c907 100644 --- a/test/stub-db.js +++ b/test/stub-db.js @@ -1,7 +1,7 @@ /* eslint-disable security/detect-object-injection */ 'use strict'; -const sinon = require('sinon'); // eslint-disable-line node/no-unpublished-require +const sinon = require('sinon'); const spyFns = [ 'context', @@ -12,6 +12,8 @@ const stubFns = [ 'authenticationSuccess', 'authenticationGet', 'authenticationUpsert', + 'authenticationUpdateCredential', + 'authenticationUpdateOTPKey', 'healthCheck', 'initialize', 'subscriptionsByTopicId', @@ -38,6 +40,7 @@ const stubFns = [ 'topicGetByUrl', 'topicGetContentById', 'topicPendingDelete', + 'topicPublishHistory', 'topicSet', 'topicSetContent', 'topicUpdate',