This commit is contained in:
Hocuri
2023-11-10 21:37:05 +01:00
committed by holger krekel
parent f93562c6bf
commit e616ecf160
3 changed files with 12 additions and 6 deletions

View File

@@ -131,7 +131,7 @@ async fn test_create_verified_oneonone_chat() -> Result<()> {
let chat = alice.create_chat(&fiona).await;
assert!(chat.is_protected());
let msg = alice.get_last_msg().await;
let msg = alice.get_last_msg_in(chat.id).await;
let expected_text = stock_str::chat_protection_enabled(&alice).await;
assert_eq!(msg.text, expected_text);
}