2019-01-31 04:44:03 +07:00
|
|
|
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";
|
2019-02-13 05:23:43 +07:00
|
|
|
import CustomHeadersForwarded from "./scenarii/CustomHeadersForwarded";
|
2019-02-13 05:57:09 +07:00
|
|
|
import BasicAuthentication from "./scenarii/BasicAuthentication";
|
2019-02-14 05:04:57 +07:00
|
|
|
import AutheliaRestart from "./scenarii/AutheliaRestart";
|
|
|
|
import AuthenticationRegulation from "./scenarii/AuthenticationRegulation";
|
2019-03-04 05:51:52 +07:00
|
|
|
import SingleFactorAuthentication from "../../helpers/scenarii/SingleFactorAuthentication";
|
2019-01-31 04:44:03 +07:00
|
|
|
|
2019-03-03 05:31:22 +07:00
|
|
|
AutheliaSuite(__dirname, function() {
|
2019-01-31 04:44:03 +07:00
|
|
|
this.timeout(10000);
|
|
|
|
|
2019-02-13 05:23:43 +07:00
|
|
|
describe('Custom headers forwarded to backend', CustomHeadersForwarded);
|
2019-02-10 05:20:37 +07:00
|
|
|
describe('Access control', AccessControl);
|
2019-01-31 04:44:03 +07:00
|
|
|
describe('Mongo broken connection recovery', MongoConnectionRecovery);
|
|
|
|
describe('Enforce internal redirections only', EnforceInternalRedirectionsOnly);
|
2019-03-04 05:51:52 +07:00
|
|
|
describe('Single-factor authentication', SingleFactorAuthentication());
|
2019-02-13 05:57:09 +07:00
|
|
|
describe('Basic authentication', BasicAuthentication);
|
2019-02-14 05:04:57 +07:00
|
|
|
describe('Authelia restart', AutheliaRestart);
|
|
|
|
describe('Authentication regulation', AuthenticationRegulation);
|
2019-01-31 04:44:03 +07:00
|
|
|
});
|