mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 09:13:09 -06:00
Add missing WithSkipVerify to test
This commit is contained in:
parent
690b0e15ae
commit
2cd06f8c92
|
|
@ -36,7 +36,12 @@ func TestRoomsV3URLEscapeDoNot404(t *testing.T) {
|
||||||
defer cancel()
|
defer cancel()
|
||||||
serverName := gomatrixserverlib.ServerName(strings.TrimPrefix(baseURL, "https://"))
|
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 {
|
testCases := []struct {
|
||||||
roomVer gomatrixserverlib.RoomVersion
|
roomVer gomatrixserverlib.RoomVersion
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue