From 37f6da1cc9cd737c7b5dfa50d865bdeac3169575 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Fri, 1 Aug 2025 22:26:24 +0200 Subject: [PATCH] test: Fix one panic in test_broadcasts_name_and_avatar, but there is another one where I couldn't find the problem --- src/chat/chat_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/chat_tests.rs b/src/chat/chat_tests.rs index 0678faa05..4d0fbba0e 100644 --- a/src/chat/chat_tests.rs +++ b/src/chat/chat_tests.rs @@ -2808,7 +2808,7 @@ async fn test_broadcasts_name_and_avatar() -> Result<()> { assert_eq!(alice_chat.typ, Chattype::OutBroadcast); let alice_chat = Chat::load_from_db(alice, alice_chat_id).await?; - assert_eq!(alice_chat.is_promoted(), false); + assert_eq!(alice_chat.is_promoted(), true); // Broadcast channels are never unpromoted let sent = alice.send_text(alice_chat_id, "Hi nobody").await; let alice_chat = Chat::load_from_db(alice, alice_chat_id).await?; assert_eq!(alice_chat.is_promoted(), true);