X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=129c9071f98178dd91fb110787959558715ecf68;hb=3ca7fccb306d0b23626befc3791ffa360b3db1e7;hp=608ea77150589b2053efa9f8c0997a3a27efcaac;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub diff --git a/test/stub-db.js b/test/stub-db.js index 608ea77..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', - 'schemaCheck', + 'initialize', 'subscriptionsByTopicId', 'subscriptionCountByTopicUrl', 'subscriptionDelete', + 'subscriptionDeleteExpired', 'subscriptionDeliveryClaim', 'subscriptionDeliveryClaimById', 'subscriptionDeliveryComplete', @@ -36,6 +39,8 @@ const stubFns = [ 'topicGetById', 'topicGetByUrl', 'topicGetContentById', + 'topicPendingDelete', + 'topicPublishHistory', 'topicSet', 'topicSetContent', 'topicUpdate',