diff --git a/tests/csapi/apidoc_room_create_test.go b/tests/csapi/apidoc_room_create_test.go index e0d37087..813e7da6 100644 --- a/tests/csapi/apidoc_room_create_test.go +++ b/tests/csapi/apidoc_room_create_test.go @@ -179,7 +179,7 @@ func TestRoomCreate(t *testing.T) { alice.MustSyncUntil(t, client.SyncReq{}, client.SyncJoinedTo(alice.UserID, roomID)) // Get ordered timeline via a full sync - res, _ := alice.MustSync(t, client.SyncReq{}) + res, _ := alice.MustSync(t, client.SyncReq{Filter: `{"room":{"timeline":{"limit":20}}}`}) roomObj := res.Get("rooms.join." + client.GjsonEscape(roomID))