aboutsummaryrefslogtreecommitdiff
path: root/roomserver/roomserver_test.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-11-24 11:57:39 +0000
committerGitHub <noreply@github.com>2021-11-24 11:57:39 +0000
commitc9419e51afeb0c8cb39a43bd8a0d0d472347a8a1 (patch)
tree7b425f81fe82f73c80857799a35d0ad6a004db4a /roomserver/roomserver_test.go
parentec716793eb86e7723ecfaa356e148334bc3921eb (diff)
Don't populate config defaults where it doesn't make sense (#2058)
* Don't populate config defaults where it doesn't make sense * Fix dendritejs builds
Diffstat (limited to 'roomserver/roomserver_test.go')
-rw-r--r--roomserver/roomserver_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/roomserver_test.go b/roomserver/roomserver_test.go
index 8d92d8d8..40e8e92d 100644
--- a/roomserver/roomserver_test.go
+++ b/roomserver/roomserver_test.go
@@ -158,7 +158,7 @@ func mustLoadRawEvents(t *testing.T, ver gomatrixserverlib.RoomVersion, events [
func mustCreateRoomserverAPI(t *testing.T) (api.RoomserverInternalAPI, *dummyProducer) {
t.Helper()
cfg := &config.Dendrite{}
- cfg.Defaults()
+ cfg.Defaults(true)
cfg.Global.ServerName = testOrigin
cfg.Global.Kafka.UseNaffka = true
cfg.RoomServer.Database = config.DatabaseOptions{