sytest: Add remaining backfill tests (#1052)

One failed because of `null` instead of `[]` in HTTP responses.

One failed because we hadn't implemented in-line filter limits!
This commit is contained in:
Kegsay 2020-05-20 17:30:03 +01:00 committed by GitHub
parent 1414922026
commit 6091bf044f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 2 deletions

View file

@ -102,7 +102,7 @@ func Backfill(
}
}
var eventJSONs []json.RawMessage
eventJSONs := []json.RawMessage{}
for _, e := range gomatrixserverlib.ReverseTopologicalOrdering(
evs,
gomatrixserverlib.TopologicalOrderByPrevEvents,