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 608ea77150589b2053efa9f8c0997a3a27efcaac..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,11
+12,14
@@
const stubFns = [
'authenticationSuccess',
'authenticationGet',
'authenticationUpsert',
'authenticationSuccess',
'authenticationGet',
'authenticationUpsert',
+ 'authenticationUpdateCredential',
+ 'authenticationUpdateOTPKey',
'healthCheck',
'healthCheck',
- '
schemaCheck
',
+ '
initialize
',
'subscriptionsByTopicId',
'subscriptionCountByTopicUrl',
'subscriptionDelete',
'subscriptionsByTopicId',
'subscriptionCountByTopicUrl',
'subscriptionDelete',
+ 'subscriptionDeleteExpired',
'subscriptionDeliveryClaim',
'subscriptionDeliveryClaimById',
'subscriptionDeliveryComplete',
'subscriptionDeliveryClaim',
'subscriptionDeliveryClaimById',
'subscriptionDeliveryComplete',
@@
-36,6
+39,8
@@
const stubFns = [
'topicGetById',
'topicGetByUrl',
'topicGetContentById',
'topicGetById',
'topicGetByUrl',
'topicGetContentById',
+ 'topicPendingDelete',
+ 'topicPublishHistory',
'topicSet',
'topicSetContent',
'topicUpdate',
'topicSet',
'topicSetContent',
'topicUpdate',