support interaction between module and apps for updating templates before rendering
[squeep-authentication-module] / test / lib / template / login-html.js
index d9ed065d86a451feee8f3f6cd8b86d203653066b..04e755584d6ee7c30584ea166b7f20963946b2dd 100644 (file)
@@ -31,6 +31,13 @@ describe('Template LoginHTML', function () {
     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';