diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-05 09:51:50 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-05 09:51:50 +0200 |
commit | 21ab77b8288630c5f39a30b098c6a3888df622a1 (patch) | |
tree | d42415e303dd7f15a135144ef86c80c93aa83506 /src/config/options_test.rs | |
parent | 71bfd5be2d7c90ecee19b2a736e793d9a432d1c8 (diff) | |
download | diplonat-21ab77b8288630c5f39a30b098c6a3888df622a1.tar.gz diplonat-21ab77b8288630c5f39a30b098c6a3888df622a1.zip |
Remove ACME options from tests
Diffstat (limited to 'src/config/options_test.rs')
-rw-r--r-- | src/config/options_test.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/config/options_test.rs b/src/config/options_test.rs index 073b9ac..a028a4e 100644 --- a/src/config/options_test.rs +++ b/src/config/options_test.rs @@ -53,7 +53,6 @@ fn ok_from_iter_minimal_valid_options() { let opts = minimal_valid_options(); let rt_config = ConfigOpts::from_iter(opts.clone()).unwrap(); - assert!(rt_config.acme.is_none()); assert_eq!( &rt_config.consul.node_name, opts.get(&"DIPLONAT_CONSUL_NODE_NAME".to_string()).unwrap() @@ -101,11 +100,6 @@ fn ok_from_iter_all_valid_options() { .into(), ); - assert!(rt_config.acme.is_some()); - assert_eq!( - &rt_config.acme.unwrap().email, - opts.get(&"DIPLONAT_ACME_EMAIL".to_string()).unwrap() - ); assert_eq!( &rt_config.consul.node_name, opts.get(&"DIPLONAT_CONSUL_NODE_NAME".to_string()).unwrap() |