2019-01-30 21:44:03 +00:00
|
|
|
import AutheliaSuite from "../../helpers/context/AutheliaSuite";
|
|
|
|
import MongoConnectionRecovery from "./scenarii/MongoConnectionRecovery";
|
|
|
|
import EnforceInternalRedirectionsOnly from "./scenarii/EnforceInternalRedirectionsOnly";
|
2019-02-09 22:20:37 +00:00
|
|
|
import AccessControl from "./scenarii/AccessControl";
|
2019-02-12 22:23:43 +00:00
|
|
|
import CustomHeadersForwarded from "./scenarii/CustomHeadersForwarded";
|
2019-02-12 22:41:19 +00:00
|
|
|
import SingleFactorAuthentication from "./scenarii/SingleFactorAuthentication";
|
2019-02-12 22:57:09 +00:00
|
|
|
import BasicAuthentication from "./scenarii/BasicAuthentication";
|
2019-02-13 22:04:57 +00:00
|
|
|
import AutheliaRestart from "./scenarii/AutheliaRestart";
|
|
|
|
import AuthenticationRegulation from "./scenarii/AuthenticationRegulation";
|
2019-01-30 21:44:03 +00:00
|
|
|
|
2019-02-04 22:23:59 +00:00
|
|
|
AutheliaSuite('Complete configuration', __dirname + '/config.yml', function() {
|
2019-01-30 21:44:03 +00:00
|
|
|
this.timeout(10000);
|
|
|
|
|
2019-02-12 22:23:43 +00:00
|
|
|
describe('Custom headers forwarded to backend', CustomHeadersForwarded);
|
2019-02-09 22:20:37 +00:00
|
|
|
describe('Access control', AccessControl);
|
|
|
|
|
2019-01-30 21:44:03 +00:00
|
|
|
describe('Mongo broken connection recovery', MongoConnectionRecovery);
|
|
|
|
describe('Enforce internal redirections only', EnforceInternalRedirectionsOnly);
|
2019-02-12 22:41:19 +00:00
|
|
|
describe('Single factor authentication', SingleFactorAuthentication);
|
2019-02-12 22:57:09 +00:00
|
|
|
describe('Basic authentication', BasicAuthentication);
|
2019-02-13 22:04:57 +00:00
|
|
|
describe('Authelia restart', AutheliaRestart);
|
|
|
|
describe('Authentication regulation', AuthenticationRegulation);
|
2019-01-30 21:44:03 +00:00
|
|
|
});
|