authelia/test/suites/complete/index.ts

23 lines
1.2 KiB
TypeScript
Raw Normal View History

import AutheliaSuite from "../../helpers/context/AutheliaSuite";
import MongoConnectionRecovery from "./scenarii/MongoConnectionRecovery";
import EnforceInternalRedirectionsOnly from "./scenarii/EnforceInternalRedirectionsOnly";
2019-02-10 05:20:37 +07:00
import AccessControl from "./scenarii/AccessControl";
import CustomHeadersForwarded from "./scenarii/CustomHeadersForwarded";
import SingleFactorAuthentication from "./scenarii/SingleFactorAuthentication";
import BasicAuthentication from "./scenarii/BasicAuthentication";
2019-02-14 05:04:57 +07:00
import AutheliaRestart from "./scenarii/AutheliaRestart";
import AuthenticationRegulation from "./scenarii/AuthenticationRegulation";
AutheliaSuite('Complete configuration', __dirname + '/config.yml', function() {
this.timeout(10000);
describe('Custom headers forwarded to backend', CustomHeadersForwarded);
2019-02-10 05:20:37 +07:00
describe('Access control', AccessControl);
describe('Mongo broken connection recovery', MongoConnectionRecovery);
describe('Enforce internal redirections only', EnforceInternalRedirectionsOnly);
describe('Single factor authentication', SingleFactorAuthentication);
describe('Basic authentication', BasicAuthentication);
2019-02-14 05:04:57 +07:00
describe('Authelia restart', AutheliaRestart);
describe('Authentication regulation', AuthenticationRegulation);
});