update dependencies, fixes to support new authentication features
[websub-hub] / test / stub-db.js
index 608ea77150589b2053efa9f8c0997a3a27efcaac..129c9071f98178dd91fb110787959558715ecf68 100644 (file)
@@ -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',