mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
fix: remove display name from get_info()
Display name is rarely needed for debugging, so there is no need to include it in the logs. Display name is even already listed in `skip_from_get_info`, but the test only allowed the values to be skipped without checking that they are always skipped.
This commit is contained in:
@@ -310,6 +310,13 @@ async fn test_get_info_completeness() {
|
||||
"'{key}' missing in get_info() output"
|
||||
);
|
||||
}
|
||||
|
||||
if skip_from_get_info.contains(&&*key) {
|
||||
assert!(
|
||||
!info.contains_key(&*key),
|
||||
"'{key}' should not be in get_info() output"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user