mirror of
https://github.com/chatmail/core.git
synced 2026-10-01 10:40:52 +03:00
api!: remove default value for "addr" config
"addr" is already deprecated and its default value was using "configured_addr". We want to get rid of "configured_addr" too, but users should at least not access it through deprecated config.
This commit is contained in:
@@ -48,7 +48,11 @@ async fn test_setup_contact_ext(case: SetupContactCase) -> (TestContext, TestCon
|
||||
|
||||
let mut tcm = TestContextManager::new();
|
||||
let alice = tcm.alice().await;
|
||||
let alice_addr = &alice.get_config(Config::Addr).await.unwrap().unwrap();
|
||||
let alice_addr = &alice
|
||||
.get_config(Config::ConfiguredAddr)
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap();
|
||||
if case == SetupContactCase::AliceHasName {
|
||||
alice
|
||||
.set_config(Config::Displayname, Some("Alice"))
|
||||
|
||||
Reference in New Issue
Block a user