Skip to content
Snippets Groups Projects
Verified Commit acb1bc9e authored by Joe Donofry's avatar Joe Donofry
Browse files

Compare JSON dumps for reaction room events

parent 2e6c0103
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ TEST(RoomEvents, Reaction)
"$oGKg0tfsnDamWPsGxUptGLWR5b8Xq6QNFFsysQNSnake");
EXPECT_EQ(event.content.relates_to.key, "👀");
EXPECT_EQ(event.content.relates_to.rel_type, "m.annotation");
EXPECT_EQ(data.dump(), json(event).dump());
};
TEST(RoomEvents, Redacted)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment