diff --git a/server/tests/common/env.rs b/server/tests/common/env.rs index 45f7833..ffc2887 100644 --- a/server/tests/common/env.rs +++ b/server/tests/common/env.rs @@ -2,6 +2,7 @@ use std::env::var; pub const DB_KEY: &str = "LLDAP_DATABASE_URL"; +pub const PRIVATE_KEY_SEED: &str = "LLDAP_KEY_SEED"; pub fn database_url() -> String { let url = var(DB_KEY).ok(); diff --git a/server/tests/common/fixture.rs b/server/tests/common/fixture.rs index 338f213..5adec36 100644 --- a/server/tests/common/fixture.rs +++ b/server/tests/common/fixture.rs @@ -236,5 +236,6 @@ fn create_lldap_command() -> Command { let db_url = env::database_url(); cmd.current_dir(path); cmd.env(env::DB_KEY, db_url); + cmd.env(env::PRIVATE_KEY_SEED, "Random value"); cmd }