mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +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());
|
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]
|
#[test]
|
||||||
fn test_blobdir_exists() {
|
fn test_blobdir_exists() {
|
||||||
let tmp = tempfile::tempdir().unwrap();
|
let tmp = tempfile::tempdir().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user