projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add account settings page, rest of otp support, stdio credential helper, other misc
[squeep-authentication-module]
/
test
/
stub-db.js
diff --git
a/test/stub-db.js
b/test/stub-db.js
index 2d1ce7724eec8818067b8b7579a26cd178d2edf0..62f5f3d14fa0eb7b4e6f48a7478c0f1601b76c47 100644
(file)
--- a/
test/stub-db.js
+++ b/
test/stub-db.js
@@
-9,9
+9,11
@@
const spyFns = [
];
const stubFns = [
];
const stubFns = [
- 'authenticationSuccess',
'authenticationGet',
'authenticationGet',
- 'authenticationUpsert',
+ 'authenticationInsertIdentifier',
+ 'authenticationSuccess',
+ 'authenticationUpdateCredential',
+ 'authenticationUpdateOTPKey',
];
const stubDatabase = {
];
const stubDatabase = {
@@
-25,7
+27,7
@@
const stubDatabase = {
};
stubFns.forEach((fn) => {
};
stubFns.forEach((fn) => {
- stubDatabase[fn] = () =>
{}
;
+ stubDatabase[fn] = () =>
undefined
;
});
module.exports = stubDatabase;
\ No newline at end of file
});
module.exports = stubDatabase;
\ No newline at end of file