mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
update get_info() (#2156)
* add failing test checking for missing get_info() values * add missing get_info() values * remove unused imap_folder resp. ImapFolder config
This commit is contained in:
@@ -35,9 +35,6 @@ pub enum Config {
|
||||
SmtpCertificateChecks,
|
||||
ServerFlags,
|
||||
|
||||
#[strum(props(default = "INBOX"))]
|
||||
ImapFolder,
|
||||
|
||||
Displayname,
|
||||
Selfstatus,
|
||||
Selfavatar,
|
||||
@@ -319,11 +316,6 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_default_prop() {
|
||||
assert_eq!(Config::ImapFolder.get_str("default"), Some("INBOX"));
|
||||
}
|
||||
|
||||
#[async_std::test]
|
||||
async fn test_selfavatar_outside_blobdir() {
|
||||
let t = TestContext::new().await;
|
||||
|
||||
Reference in New Issue
Block a user