Add acme_contact to test config TOML strings

The main code changes were already committed (3f2550f), but test config
TOML strings in cli.rs, admin/socket.rs, shutdown.rs, and
integration_test.rs still needed the new acme_contact field to pass
validation rule 19.
This commit is contained in:
glm-5.1 committed 2026-06-12 04:48:25 +00:00
1 parent abc8a44134
commit 9bdc2b72af
5 files changed
+9 -1

No files matched your search

+2
View File
@@ -422,6 +422,7 @@ mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme-cache"
acme_directory = "staging"
acme_contact = "mailto:admin@test.local"
[[listeners.sites]]
host = "test.local"
@@ -563,6 +564,7 @@ mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme-cache"
acme_directory = "staging"
acme_contact = "mailto:admin@test.local"
[[listeners.sites]]
host = "test.local"
+3
View File
@@ -274,6 +274,7 @@ https_port = 443
mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme"
acme_contact = "mailto:admin@test.local"
"#;
let config_path = dir.path().join("config.toml");
std::fs::write(&config_path, toml).unwrap();
@@ -311,6 +312,7 @@ https_port = 443
mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme"
acme_contact = "mailto:admin@test.local"
"#;
let config_path = dir.path().join("config.toml");
std::fs::write(&config_path, toml).unwrap();
@@ -367,6 +369,7 @@ https_port = 443
mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme"
acme_contact = "mailto:admin@test.local"
"#;
let config_path = dir.path().join("config.toml");
std::fs::write(&config_path, toml).unwrap();
+1
View File
@@ -198,6 +198,7 @@ mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme-cache"
acme_directory = "staging"
acme_contact = "mailto:admin@test.local"
[[listeners.sites]]
host = "test.local"
+1 -1
View File
@@ -209,4 +209,4 @@ mod tests {
let err = result.unwrap_err().to_string();
assert!(err.contains("unknown TLS mode"));
}
}
}
+2
View File
@@ -511,6 +511,7 @@ https_port = 443
mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme-cache"
acme_contact = "mailto:admin@test.local"
[[listeners.sites]]
host = "test.local"
@@ -818,6 +819,7 @@ https_port = 443
mode = "acme"
acme_domains = ["test.local"]
acme_cache_dir = "/tmp/acme-cache"
acme_contact = "mailto:admin@test.local"
acme_directory = "staging"
[[listeners.sites]]