X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=537c92b88859a7a40c104032aafe8965f72b363c;hb=HEAD;hp=62f5f3d14fa0eb7b4e6f48a7478c0f1601b76c47;hpb=53ef948ea83106e82d55e60d6695a15e94bf725e;p=squeep-authentication-module diff --git a/test/stub-db.js b/test/stub-db.js index 62f5f3d..537c92b 100644 --- a/test/stub-db.js +++ b/test/stub-db.js @@ -1,7 +1,7 @@ /* 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', @@ -10,10 +10,11 @@ const spyFns = [ const stubFns = [ 'authenticationGet', - 'authenticationInsertIdentifier', + 'authenticationUpsert', 'authenticationSuccess', 'authenticationUpdateCredential', 'authenticationUpdateOTPKey', + 'resourceGet', ]; const stubDatabase = {