2019-03-22 22:54:27 +07:00
|
|
|
import AutheliaSuite from "../../helpers/context/AutheliaSuite";
|
|
|
|
import { exec } from '../../helpers/utils/exec';
|
|
|
|
import BypassPolicy from "./scenarii/BypassPolicy";
|
2019-03-28 03:57:16 +07:00
|
|
|
import NoDefaultRedirectionUrl from "./scenarii/NoDefaultRedirectionUrl";
|
2019-03-22 22:54:27 +07:00
|
|
|
|
|
|
|
AutheliaSuite(__dirname, function() {
|
|
|
|
this.timeout(10000);
|
|
|
|
|
|
|
|
beforeEach(async function() {
|
|
|
|
await exec(`cp ${__dirname}/users_database.yml ${__dirname}/users_database.test.yml`);
|
|
|
|
});
|
|
|
|
|
|
|
|
describe('Bypass policy', BypassPolicy);
|
2019-03-28 03:57:16 +07:00
|
|
|
describe("No default redirection", NoDefaultRedirectionUrl);
|
2019-03-22 22:54:27 +07:00
|
|
|
});
|