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-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-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);
|
|
|
|
});
|