From 24eb5d22524f20e1024b1475debe61ae20538a5a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 4 Dec 2020 14:37:15 +0000 Subject: [PATCH] Fix unit tests --- roomserver/roomserver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }