Fix integration tests

This commit is contained in:
Mark Haines 2017-07-12 16:39:38 +01:00
parent a28c82b4a9
commit 93234151e2

View file

@ -252,9 +252,9 @@ func main() {
input := []string{ input := []string{
`{ `{
"AuthEventIDs": [], "auth_event_ids": [],
"Kind": 1, "kind": 1,
"Event": { "event": {
"origin": "matrix.org", "origin": "matrix.org",
"signatures": { "signatures": {
"matrix.org": { "matrix.org": {
@ -274,10 +274,10 @@ func main() {
"hashes": {"sha256": "Q05VLC8nztN2tguy+KnHxxhitI95wK9NelnsDaXRqeo"}, "hashes": {"sha256": "Q05VLC8nztN2tguy+KnHxxhitI95wK9NelnsDaXRqeo"},
"type": "m.room.create"} "type": "m.room.create"}
}`, `{ }`, `{
"AuthEventIDs": ["$1463671337126266wrSBX:matrix.org"], "auth_event_ids": ["$1463671337126266wrSBX:matrix.org"],
"Kind": 2, "kind": 2,
"StateEventIDs": ["$1463671337126266wrSBX:matrix.org"], "state_event_ids": ["$1463671337126266wrSBX:matrix.org"],
"Event": { "event": {
"origin": "matrix.org", "origin": "matrix.org",
"signatures": { "signatures": {
"matrix.org": { "matrix.org": {
@ -305,7 +305,7 @@ func main() {
]], ]],
"hashes": {"sha256": "t9t3sZV1Eu0P9Jyrs7pge6UTa1zuTbRdVxeUHnrQVH0"}, "hashes": {"sha256": "t9t3sZV1Eu0P9Jyrs7pge6UTa1zuTbRdVxeUHnrQVH0"},
"type": "m.room.member"}, "type": "m.room.member"},
"HasState": true "has_state": true
}`, }`,
} }