update dependencies and devDependencies, address lint issues
[squeep-indie-auther] / test / stub-db.js
index f973b8d417d0184ee3fdb61b9cf5230d2dec358c..8eab524b5cad8243d8d4c3d89d8691539e60c94c 100644 (file)
@@ -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;