update dependencies, fixes to support new authentication features
[websub-hub] / test / stub-db.js
index f257cbfeeb0728af0b9b1bd135e49e7bb505d4c2..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,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',