aboutsummaryrefslogtreecommitdiff
path: root/federationapi
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi')
-rw-r--r--federationapi/federationapi_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/federationapi/federationapi_test.go b/federationapi/federationapi_test.go
index 923cd0ec..b97876d3 100644
--- a/federationapi/federationapi_test.go
+++ b/federationapi/federationapi_test.go
@@ -36,7 +36,10 @@ func TestRoomsV3URLEscapeDoNot404(t *testing.T) {
defer cancel()
serverName := gomatrixserverlib.ServerName(strings.TrimPrefix(baseURL, "https://"))
- fedCli := gomatrixserverlib.NewFederationClient(serverName, cfg.Global.KeyID, cfg.Global.PrivateKey, true)
+ fedCli := gomatrixserverlib.NewFederationClient(
+ serverName, cfg.Global.KeyID, cfg.Global.PrivateKey,
+ gomatrixserverlib.WithSkipVerify(true),
+ )
testCases := []struct {
roomVer gomatrixserverlib.RoomVersion