Allows to get rid of some functions and types in unit tests by reusing the ones from the snapshot tests. Also snapshot fixtures are easier to reuse.
21 lines
433 B
JSON
21 lines
433 B
JSON
[
|
|
{
|
|
"event_id": "$00-m-room-topic",
|
|
"room_id": "!room:example.com",
|
|
"sender": "@alice:example.com",
|
|
"type": "m.room.topic",
|
|
"content": {
|
|
"topic": "Room toppic"
|
|
},
|
|
"state_key": "",
|
|
"origin_server_ts": 8,
|
|
"prev_events": [
|
|
"$01-m-room-power_levels"
|
|
],
|
|
"auth_events": [
|
|
"$00-m-room-create",
|
|
"$01-m-room-power_levels",
|
|
"$00-m-room-member-join-alice"
|
|
]
|
|
}
|
|
]
|