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:
bjoern
2021-01-19 22:30:19 +01:00
committed by GitHub
parent 412e3c22df
commit 5561aada45
2 changed files with 95 additions and 8 deletions

View File

@@ -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;