X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fstub-db.js;h=537c92b88859a7a40c104032aafe8965f72b363c;hb=HEAD;hp=0df6b9ebb097d225304e8d699418edf2afdf20ff;hpb=54ca04e330d14a12344ddc2b161c1d9b55bfd7d7;p=squeep-authentication-module diff --git a/test/stub-db.js b/test/stub-db.js index 0df6b9e..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', @@ -14,6 +14,7 @@ const stubFns = [ 'authenticationSuccess', 'authenticationUpdateCredential', 'authenticationUpdateOTPKey', + 'resourceGet', ]; const stubDatabase = {