refactor: remove IConfig

This commit is contained in:
debugtalk
2022-01-19 21:42:12 +08:00
parent 72d4a988aa
commit 743fc706c6
14 changed files with 39 additions and 64 deletions

View File

@@ -96,7 +96,7 @@ func loadFromYAML(path string) (*TCase, error) {
func (tc *TCase) ToTestCase() (*TestCase, error) {
testCase := &TestCase{
Config: &Config{cfg: tc.Config},
Config: tc.Config,
}
for _, step := range tc.TestSteps {
if step.Request != nil {