projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support interaction between module and apps for updating templates before rendering
[squeep-authentication-module]
/
test
/
lib
/
template
/
login-html.js
diff --git
a/test/lib/template/login-html.js
b/test/lib/template/login-html.js
index d9ed065d86a451feee8f3f6cd8b86d203653066b..04e755584d6ee7c30584ea166b7f20963946b2dd 100644
(file)
--- a/
test/lib/template/login-html.js
+++ b/
test/lib/template/login-html.js
@@
-31,6
+31,13
@@
describe('Template LoginHTML', function () {
assert(result);
});
assert(result);
});
+ it('covers local user', async function () {
+ options.authenticator.authnEnabled = ['argon2'];
+ const result = LoginHTML(ctx, options);
+ await lintHtml(result);
+ assert(result);
+ });
+
it('renders errors and additional content', async function () {
ctx.errors = ['an error', 'another error'];
options.manager.logoUrl = 'https://example.com/logo.png';
it('renders errors and additional content', async function () {
ctx.errors = ['an error', 'another error'];
options.manager.logoUrl = 'https://example.com/logo.png';