X-Git-Url: http://git.squeep.com/?p=squeep-authentication-module;a=blobdiff_plain;f=test%2Fstub-db.js;h=62f5f3d14fa0eb7b4e6f48a7478c0f1601b76c47;hp=2d1ce7724eec8818067b8b7579a26cd178d2edf0;hb=53ef948ea83106e82d55e60d6695a15e94bf725e;hpb=842a3da269de1ab82e9a2a12aae8ed5677f064d8 diff --git a/test/stub-db.js b/test/stub-db.js index 2d1ce77..62f5f3d 100644 --- a/test/stub-db.js +++ b/test/stub-db.js @@ -9,9 +9,11 @@ const spyFns = [ ]; const stubFns = [ - 'authenticationSuccess', 'authenticationGet', - 'authenticationUpsert', + 'authenticationInsertIdentifier', + 'authenticationSuccess', + 'authenticationUpdateCredential', + 'authenticationUpdateOTPKey', ]; const stubDatabase = { @@ -25,7 +27,7 @@ const stubDatabase = { }; stubFns.forEach((fn) => { - stubDatabase[fn] = () => {}; + stubDatabase[fn] = () => undefined; }); module.exports = stubDatabase; \ No newline at end of file