events: Fix test for compat-encrypted-stickers

This commit is contained in:
Kévin Commaille 2025-02-07 23:16:41 +01:00 committed by strawberry
parent 9d9633895f
commit 2953f51991

View file

@ -222,7 +222,7 @@ fn replace_content_deserialization() {
{
let encrypted_content =
from_json_value::<StickerEventContent>(encrypted_json_data).unwrap();
assert_eq!(encrypted_content.body, "Upload: my_image.jpg");
assert_eq!(encrypted_content.body, "* Upload: my_image.jpg");
assert_matches!(
encrypted_content.source,
StickerMediaSource::Encrypted(encrypted_sticker_url)