mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +03:00
Add smoke test for Context.get_fresh_msgs
This commit is contained in:
committed by
holger krekel
parent
a773b7929c
commit
38f39c8d32
@@ -438,6 +438,13 @@ mod tests {
|
||||
assert!(res.is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_get_fresh_msgs() {
|
||||
let t = dummy_context();
|
||||
let fresh = t.ctx.get_fresh_msgs();
|
||||
assert!(fresh.is_empty())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_blobdir_exists() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user