mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Fix another test
This commit is contained in:
parent
03823bd3ff
commit
555ba0e0e5
@ -1,6 +1,7 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"context"
|
||||
"reflect"
|
||||
"sort"
|
||||
"strings"
|
||||
@ -258,7 +259,7 @@ func TestRoomsBuilder(t *testing.T) {
|
||||
rb := NewRoomsBuilder()
|
||||
for _, bs := range tc.subsToAdd {
|
||||
id := rb.AddSubscription(bs.RoomSubscription)
|
||||
rb.AddRoomsToSubscription(ctx, id, bs.RoomIDs)
|
||||
rb.AddRoomsToSubscription(context.Background(), id, bs.RoomIDs)
|
||||
}
|
||||
got := rb.BuildSubscriptions()
|
||||
tc.want = sortBuiltSubs(tc.want)
|
||||
|
Loading…
x
Reference in New Issue
Block a user