Add missing WithSkipVerify to test

This commit is contained in:
Neil Alexander 2021-01-22 15:03:24 +00:00
parent 690b0e15ae
commit 2cd06f8c92
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -36,7 +36,12 @@ 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, true,
gomatrixserverlib.WithSkipVerify{
SkipVerify: true,
},
)
testCases := []struct {
roomVer gomatrixserverlib.RoomVersion