diff options
Diffstat (limited to 'federationapi/routing/query_test.go')
-rw-r--r-- | federationapi/routing/query_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/query_test.go b/federationapi/routing/query_test.go index d839a16b..69cf7047 100644 --- a/federationapi/routing/query_test.go +++ b/federationapi/routing/query_test.go @@ -50,7 +50,7 @@ func TestHandleQueryDirectory(t *testing.T) { defer close() fedMux := mux.NewRouter().SkipClean(true).PathPrefix(httputil.PublicFederationPathPrefix).Subrouter().UseEncodedPath() - base.PublicFederationAPIMux = fedMux + base.Routers.Federation = fedMux base.Cfg.FederationAPI.Matrix.SigningIdentity.ServerName = testOrigin base.Cfg.FederationAPI.Matrix.Metrics.Enabled = false fedClient := fakeFedClient{} |