diff --git a/roomserver/roomserver_test.go b/roomserver/roomserver_test.go index 5c9540071..6b157b307 100644 --- a/roomserver/roomserver_test.go +++ b/roomserver/roomserver_test.go @@ -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) }