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

Fix expiration test

parent 0d0b4414
No related branches found
No related tags found
No related merge requests found
Pipeline #4965 passed
......@@ -1990,6 +1990,8 @@ TEST(RoomAccountData, NhekoEventExpiry)
"type": "im.nheko.event_expiry"
})"_json;
event = data.get<ns::AccountDataEvent<ns::account_data::nheko_extensions::EventExpiry>>();
ASSERT_TRUE(event.content.exclude_state_events);
ASSERT_EQ(event.content.expire_after_ms, 100);
ASSERT_EQ(event.content.protect_latest, 100);
......
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