Skip to content
Snippets Groups Projects
Commit 35abec9f authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Add to json test for join rules

parent 8f4b4610
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,8 @@ TEST(StateEvents, JoinRules)
EXPECT_EQ(event.origin_server_ts, 1506761924018L);
EXPECT_EQ(event.state_key, "");
EXPECT_EQ(event.content.join_rule, ns::state::JoinRule::Invite);
EXPECT_EQ(data, json(event));
}
TEST(StateEvents, Member)
......
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