mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Unbreak test
This commit is contained in:
parent
08be21fa8a
commit
30bfbfeb66
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue