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:
2026-06-12 04:48:25 +00:00
parent abc8a44134
commit 9bdc2b72af
5 changed files with 9 additions and 1 deletions

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"

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();

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"

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]]