mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 19:25:56 +00:00
test: a Docker config built by a test has no database data directory
This commit is contained in:
1 parent
36bfc6d31e
commit
4d8ca00e46
1 file changed
+1
-1
@@ -412,7 +412,7 @@ fn database_env(s: &Secrets, world: bool, realm: crate::realms::Mode) -> Vec<(St
|
|||||||
/// Every setting variable (`AC_...`) the containers get, for the check that the screens know which settings are fixed.
|
/// Every setting variable (`AC_...`) the containers get, for the check that the screens know which settings are fixed.
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) fn forced_variables() -> Vec<String> {
|
pub(crate) fn forced_variables() -> Vec<String> {
|
||||||
let cfg = Config { project: "t".into(), bind_address: "127.0.0.1".into(), mysql_image: "mysql:8.4".into(), data_dir: None };
|
let cfg = Config { project: "t".into(), bind_address: "127.0.0.1".into(), mysql_image: "mysql:8.4".into(), data_dir: None, mysql_data: None };
|
||||||
let n = cfg.names();
|
let n = cfg.names();
|
||||||
let mut found = Vec::new();
|
let mut found = Vec::new();
|
||||||
for kind in [GameKind::World, GameKind::Auth] {
|
for kind in [GameKind::World, GameKind::Auth] {
|
||||||
|
|||||||
Reference in new issue
Block a user