mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Create database directory before running integration tests.
This commit is contained in:
parent
1602b83fdd
commit
d2ae2524b7
|
@ -21,7 +21,7 @@ session:
|
|||
# Configuration of the storage backend used to store data and secrets. i.e. totp data
|
||||
storage:
|
||||
local:
|
||||
path: /var/lib/authelia
|
||||
path: /var/lib/authelia/db
|
||||
|
||||
# TOTP Issuer Name
|
||||
#
|
||||
|
|
|
@ -17,8 +17,9 @@ const execAsync = Bluebird.promisify(ChildProcess.exec);
|
|||
|
||||
AutheliaSuite('Minimal configuration', __dirname + '/config.yml', function() {
|
||||
this.timeout(10000);
|
||||
beforeEach(function() {
|
||||
return execAsync("cp users_database.example.yml users_database.yml");
|
||||
beforeEach(async function() {
|
||||
await execAsync('mkdir -p /var/lib/authelia/db')
|
||||
await execAsync('cp users_database.example.yml users_database.yml');
|
||||
});
|
||||
|
||||
describe('Simple authentication', SimpleAuthentication);
|
||||
|
|
Loading…
Reference in New Issue
Block a user