0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-29 01:38:25 +02:00

Fix unit tests

This commit is contained in:
Neil Alexander 2020-12-04 14:37:15 +00:00
parent 464ecd1e64
commit 24eb5d2252
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -168,7 +168,7 @@ func mustCreateRoomserverAPI(t *testing.T) (api.RoomserverInternalAPI, *dummyPro
dp := &dummyProducer{
topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent),
}
cache, err := caching.NewInMemoryLRUCache(false)
cache, err := caching.NewInMemoryLRUCache(&cfg.Global)
if err != nil {
t.Fatalf("failed to make caches: %s", err)
}