mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 09:19:41 +08:00
refactor: remove IConfig
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user