mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-06 13:43:09 -06:00
Unbreak new tests
This commit is contained in:
parent
e4891f8c7f
commit
f86244ed4d
|
|
@ -36,7 +36,7 @@ func mustCreateRoomAliasesTable(t *testing.T, dbType test.DBType) (tab tables.Ro
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRoomAliasesTable(t *testing.T) {
|
func TestRoomAliasesTable(t *testing.T) {
|
||||||
alice := test.NewUser()
|
alice := test.NewUser(t)
|
||||||
room := test.NewRoom(t, alice)
|
room := test.NewRoom(t, alice)
|
||||||
room2 := test.NewRoom(t, alice)
|
room2 := test.NewRoom(t, alice)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ func mustCreateRoomsTable(t *testing.T, dbType test.DBType) (tab tables.Rooms, c
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRoomsTable(t *testing.T) {
|
func TestRoomsTable(t *testing.T) {
|
||||||
alice := test.NewUser()
|
alice := test.NewUser(t)
|
||||||
room := test.NewRoom(t, alice)
|
room := test.NewRoom(t, alice)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
|
test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue