refactor: TestCase, TSteps -> Steps

This commit is contained in:
lilong.129
2024-08-19 22:28:21 +08:00
parent 50230adb54
commit a9b864dc96
13 changed files with 66 additions and 65 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func (c *TCaseConverter) overrideWithProfile(path string) error {
}
log.Info().Interface("profile", profile).Msg("override with profile")
for _, step := range c.tCase.TSteps {
for _, step := range c.tCase.Steps {
// override original headers and cookies
if profile.Override {
step.Request.Headers = make(map[string]string)