Unbreak test

This commit is contained in:
Kegan Dougal 2020-06-23 12:21:04 +01:00
parent 08be21fa8a
commit 30bfbfeb66

View file

@ -337,7 +337,7 @@ func mustCreateTransaction(rsAPI api.RoomserverInternalAPI, fedClient txnFederat
func mustProcessTransaction(t *testing.T, txn *txnReq, pdusWithErrors []string) { func mustProcessTransaction(t *testing.T, txn *txnReq, pdusWithErrors []string) {
res, err := txn.processTransaction() res, err := txn.processTransaction()
if err != nil { if err != nil {
t.Errorf("txn.processTransaction returned an error: %s", err) t.Errorf("txn.processTransaction returned an error: %v", err)
return return
} }
if len(res.PDUs) != len(txn.PDUs) { if len(res.PDUs) != len(txn.PDUs) {