1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

set min version on tls configuration even on the tests and examples

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-10 21:48:05 +02:00
parent 096349bb56
commit 7ab0f6fff5
8 changed files with 19 additions and 12 deletions

View File

@@ -153,7 +153,7 @@ func NewInsecure(t *testing.T, setters ...OptionSetter) *httpexpect.Expect {
setter.Set(conf)
}
transport := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS11}, // lint:ignore
TLSClientConfig: &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS13}, // lint:ignore
}
testConfiguration := httpexpect.Config{