update dependencies and devDependencies, address lint issues
[squeep-indie-auther] / test / stub-db.js
1 'use strict';
2
3 const { StubDatabase: Base } = require('@squeep/test-helper');
4
5 class StubDatabase extends Base {
6 get _stubFns() {
7 return [
8 ...super._stubFns,
9 'almanacGetAll',
10 'almanacUpsert',
11 'authenticationGet',
12 'authenticationSuccess',
13 'authenticationUpsert',
14 'authenticationUpdateCredential',
15 'authenticationUpdateOTPKey',
16 'profileIdentifierInsert',
17 'profileIsValid',
18 'profileScopeInsert',
19 'profileScopesSetAll',
20 'profilesScopesByIdentifier',
21 'redeemCode',
22 'refreshCode',
23 'resourceGet',
24 'resourceUpsert',
25 'scopeCleanup',
26 'scopeDelete',
27 'scopeUpsert',
28 'tokenCleanup',
29 'tokenGetByCodeId',
30 'tokenRefreshRevokeByCodeId',
31 'tokenRevokeByCodeId',
32 'tokensGetByIdentifier',
33 'ticketRedeemed',
34 'ticketTokenPublished',
35 'ticketTokenGetUnpublished',
36 ];
37 }
38 }
39
40 module.exports = StubDatabase;