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:
@@ -422,6 +422,7 @@ mode = "acme"
|
|||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme-cache"
|
acme_cache_dir = "/tmp/acme-cache"
|
||||||
acme_directory = "staging"
|
acme_directory = "staging"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
|
|
||||||
[[listeners.sites]]
|
[[listeners.sites]]
|
||||||
host = "test.local"
|
host = "test.local"
|
||||||
@@ -563,6 +564,7 @@ mode = "acme"
|
|||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme-cache"
|
acme_cache_dir = "/tmp/acme-cache"
|
||||||
acme_directory = "staging"
|
acme_directory = "staging"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
|
|
||||||
[[listeners.sites]]
|
[[listeners.sites]]
|
||||||
host = "test.local"
|
host = "test.local"
|
||||||
|
|||||||
@@ -274,6 +274,7 @@ https_port = 443
|
|||||||
mode = "acme"
|
mode = "acme"
|
||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme"
|
acme_cache_dir = "/tmp/acme"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
"#;
|
"#;
|
||||||
let config_path = dir.path().join("config.toml");
|
let config_path = dir.path().join("config.toml");
|
||||||
std::fs::write(&config_path, toml).unwrap();
|
std::fs::write(&config_path, toml).unwrap();
|
||||||
@@ -311,6 +312,7 @@ https_port = 443
|
|||||||
mode = "acme"
|
mode = "acme"
|
||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme"
|
acme_cache_dir = "/tmp/acme"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
"#;
|
"#;
|
||||||
let config_path = dir.path().join("config.toml");
|
let config_path = dir.path().join("config.toml");
|
||||||
std::fs::write(&config_path, toml).unwrap();
|
std::fs::write(&config_path, toml).unwrap();
|
||||||
@@ -367,6 +369,7 @@ https_port = 443
|
|||||||
mode = "acme"
|
mode = "acme"
|
||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme"
|
acme_cache_dir = "/tmp/acme"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
"#;
|
"#;
|
||||||
let config_path = dir.path().join("config.toml");
|
let config_path = dir.path().join("config.toml");
|
||||||
std::fs::write(&config_path, toml).unwrap();
|
std::fs::write(&config_path, toml).unwrap();
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ mode = "acme"
|
|||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme-cache"
|
acme_cache_dir = "/tmp/acme-cache"
|
||||||
acme_directory = "staging"
|
acme_directory = "staging"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
|
|
||||||
[[listeners.sites]]
|
[[listeners.sites]]
|
||||||
host = "test.local"
|
host = "test.local"
|
||||||
|
|||||||
@@ -511,6 +511,7 @@ https_port = 443
|
|||||||
mode = "acme"
|
mode = "acme"
|
||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme-cache"
|
acme_cache_dir = "/tmp/acme-cache"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
|
|
||||||
[[listeners.sites]]
|
[[listeners.sites]]
|
||||||
host = "test.local"
|
host = "test.local"
|
||||||
@@ -818,6 +819,7 @@ https_port = 443
|
|||||||
mode = "acme"
|
mode = "acme"
|
||||||
acme_domains = ["test.local"]
|
acme_domains = ["test.local"]
|
||||||
acme_cache_dir = "/tmp/acme-cache"
|
acme_cache_dir = "/tmp/acme-cache"
|
||||||
|
acme_contact = "mailto:admin@test.local"
|
||||||
acme_directory = "staging"
|
acme_directory = "staging"
|
||||||
|
|
||||||
[[listeners.sites]]
|
[[listeners.sites]]
|
||||||
|
|||||||
Reference in New Issue
Block a user