X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=8eab524b5cad8243d8d4c3d89d8691539e60c94c;hb=f0bf29c75b0fd405ff92fa76f058e61162b87e43;hp=f973b8d417d0184ee3fdb61b9cf5230d2dec358c;hpb=b0103b0d496262c438b40bc20304081dbfe41e73;p=squeep-indie-auther diff --git a/test/stub-db.js b/test/stub-db.js index f973b8d..8eab524 100644 --- a/test/stub-db.js +++ b/test/stub-db.js @@ -1,16 +1,18 @@ -/* 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', @@ -27,9 +29,12 @@ class StubDatabase extends Base { 'tokenGetByCodeId', 'tokenRefreshRevokeByCodeId', 'tokenRevokeByCodeId', - 'tokensGetByIdentifier', + 'tokensGetByIdentifier', + 'ticketRedeemed', + 'ticketTokenPublished', + 'ticketTokenGetUnpublished', ]; } } -module.exports = StubDatabase; \ No newline at end of file +module.exports = StubDatabase;