mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 11:36:56 +08:00
refactor: TestCase/IConfig models
This commit is contained in:
@@ -40,7 +40,7 @@ func (s *StepThinkTime) Run(r *SessionRunner) (*StepResult, error) {
|
||||
Success: true,
|
||||
}
|
||||
|
||||
cfg := r.caseRunner.Config.ThinkTimeSetting
|
||||
cfg := r.caseRunner.Config.Get().ThinkTimeSetting
|
||||
if cfg == nil {
|
||||
cfg = &ThinkTimeConfig{thinkTimeDefault, nil, 0}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user