refactor: NewConfig

This commit is contained in:
debugtalk
2021-12-08 13:07:39 +08:00
parent 83ab5b7038
commit 99972064ab
10 changed files with 67 additions and 44 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ func (h *har) load() (*Har, error) {
func (h *har) prepareConfig() *hrp.TConfig {
return hrp.NewConfig("testcase description").
SetVerifySSL(false)
SetVerifySSL(false).ToStruct()
}
func (h *har) prepareTestSteps() ([]*hrp.TStep, error) {