X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=129c9071f98178dd91fb110787959558715ecf68;hb=3ca7fccb306d0b23626befc3791ffa360b3db1e7;hp=5ef24228a8b5bf1db00257cf1745572d5c3ef742;hpb=38aba0869dc3ade99d439e74cbc6239b4fa1f632;p=websub-hub diff --git a/test/stub-db.js b/test/stub-db.js index 5ef2422..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,11 +12,14 @@ const stubFns = [ 'authenticationSuccess', 'authenticationGet', 'authenticationUpsert', + 'authenticationUpdateCredential', + 'authenticationUpdateOTPKey', 'healthCheck', 'initialize', 'subscriptionsByTopicId', 'subscriptionCountByTopicUrl', 'subscriptionDelete', + 'subscriptionDeleteExpired', 'subscriptionDeliveryClaim', 'subscriptionDeliveryClaimById', 'subscriptionDeliveryComplete', @@ -36,6 +39,8 @@ const stubFns = [ 'topicGetById', 'topicGetByUrl', 'topicGetContentById', + 'topicPendingDelete', + 'topicPublishHistory', 'topicSet', 'topicSetContent', 'topicUpdate',