-/* eslint-disable security/detect-object-injection */
'use strict';
-const { StubDatabase: Base } = require('@squeep/test-helper'); // eslint-disable-line node/no-unpublished-require
+const { StubDatabase: Base } = require('@squeep/test-helper');
class StubDatabase extends Base {
get _stubFns() {
return [
...super._stubFns,
'almanacGetAll',
+ 'almanacUpsert',
'authenticationGet',
'authenticationSuccess',
'authenticationUpsert',
+ 'authenticationUpdateCredential',
+ 'authenticationUpdateOTPKey',
'profileIdentifierInsert',
'profileIsValid',
'profileScopeInsert',
'tokenGetByCodeId',
'tokenRefreshRevokeByCodeId',
'tokenRevokeByCodeId',
- 'tokensGetByIdentifier',
+ 'tokensGetByIdentifier',
+ 'ticketRedeemed',
+ 'ticketTokenPublished',
+ 'ticketTokenGetUnpublished',
];
}
}
-module.exports = StubDatabase;
\ No newline at end of file
+module.exports = StubDatabase;