mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
adapt tests to saved-messages chat
This commit is contained in:
committed by
holger krekel
parent
f9d2fe710d
commit
e9b2d6a594
@@ -2114,7 +2114,8 @@ mod tests {
|
|||||||
assert!(!chat.archived);
|
assert!(!chat.archived);
|
||||||
assert!(!chat.is_device_talk());
|
assert!(!chat.is_device_talk());
|
||||||
assert!(chat.can_send());
|
assert!(chat.can_send());
|
||||||
assert_eq!(chat.name, t.ctx.stock_str(StockMessage::SelfMsg));
|
assert_eq!(chat.name, t.ctx.stock_str(StockMessage::SavedMessages));
|
||||||
|
assert!(chat.get_profile_image(&t.ctx).is_some());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Reference in New Issue
Block a user