mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Use CreateBaseDendrite instead of Base()
This commit is contained in:
parent
c2e60aea12
commit
dfd910269f
|
|
@ -1137,8 +1137,8 @@ func TestUpdateRelations(t *testing.T) {
|
||||||
room := test.NewRoom(t, alice)
|
room := test.NewRoom(t, alice)
|
||||||
|
|
||||||
test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
|
test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
|
||||||
base, _, _ := testrig.Base(nil)
|
base, shutdownBase := testrig.CreateBaseDendrite(t, dbType)
|
||||||
defer base.Close()
|
t.Cleanup(shutdownBase)
|
||||||
db, err := storage.NewSyncServerDatasource(base, &base.Cfg.SyncAPI.Database)
|
db, err := storage.NewSyncServerDatasource(base, &base.Cfg.SyncAPI.Database)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue