mirror of
https://github.com/girlbossceo/ruwuma.git
synced 2025-04-29 06:49:48 -04:00
events: Fix test for compat-encrypted-stickers
This commit is contained in:
parent
9d9633895f
commit
2953f51991
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue