projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update dependencies, fixes to support new authentication features
[websub-hub]
/
test
/
stub-db.js
diff --git
a/test/stub-db.js
b/test/stub-db.js
index f257cbfeeb0728af0b9b1bd135e49e7bb505d4c2..129c9071f98178dd91fb110787959558715ecf68 100644
(file)
--- a/
test/stub-db.js
+++ b/
test/stub-db.js
@@
-1,7
+1,7
@@
/* eslint-disable security/detect-object-injection */
'use strict';
/* 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',
const spyFns = [
'context',
@@
-12,6
+12,8
@@
const stubFns = [
'authenticationSuccess',
'authenticationGet',
'authenticationUpsert',
'authenticationSuccess',
'authenticationGet',
'authenticationUpsert',
+ 'authenticationUpdateCredential',
+ 'authenticationUpdateOTPKey',
'healthCheck',
'initialize',
'subscriptionsByTopicId',
'healthCheck',
'initialize',
'subscriptionsByTopicId',
@@
-38,6
+40,7
@@
const stubFns = [
'topicGetByUrl',
'topicGetContentById',
'topicPendingDelete',
'topicGetByUrl',
'topicGetContentById',
'topicPendingDelete',
+ 'topicPublishHistory',
'topicSet',
'topicSetContent',
'topicUpdate',
'topicSet',
'topicSetContent',
'topicUpdate',