Revert "Fix unit tests"

This reverts commit 24eb5d2252.
This commit is contained in:
Neil Alexander 2020-12-04 14:51:28 +00:00
parent 24eb5d2252
commit 581ee5fb72
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{ dp := &dummyProducer{
topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent), topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent),
} }
cache, err := caching.NewInMemoryLRUCache(&cfg.Global) cache, err := caching.NewInMemoryLRUCache(false)
if err != nil { if err != nil {
t.Fatalf("failed to make caches: %s", err) t.Fatalf("failed to make caches: %s", err)
} }