refactor: CaseRunner, parseConfig

This commit is contained in:
lilong.129
2024-08-20 12:09:15 +08:00
parent 9efbd04055
commit 263ee681be
8 changed files with 70 additions and 124 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (s *StepThinkTime) Run(r *SessionRunner) (*StepResult, error) {
Success: true,
}
cfg := r.caseRunner.parsedConfig.ThinkTimeSetting
cfg := r.caseRunner.Config.ThinkTimeSetting
if cfg == nil {
cfg = &ThinkTimeConfig{thinkTimeDefault, nil, 0}
}