adapt tests to saved-messages chat

This commit is contained in:
B. Petersen
2019-11-17 00:39:35 +01:00
committed by holger krekel
parent f9d2fe710d
commit e9b2d6a594

View File

@@ -2114,7 +2114,8 @@ mod tests {
assert!(!chat.archived);
assert!(!chat.is_device_talk());
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]