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:41:19 +07:00
|
|
|
import SingleFactorAuthentication from "./scenarii/SingleFactorAuthentication";
|
2019-01-31 04:44:03 +07:00
|
|
|
|
2019-02-05 05:23:59 +07:00
|
|
|
AutheliaSuite('Complete configuration', __dirname + '/config.yml', 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-02-13 05:41:19 +07:00
|
|
|
describe('Single factor authentication', SingleFactorAuthentication);
|
2019-01-31 04:44:03 +07:00
|
|
|
});
|