mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-11 10:49:43 +08:00
refactor: update summary in controller
This commit is contained in:
@@ -100,9 +100,6 @@ func (s *StepAPIWithOptionalArgs) Struct() *TStep {
|
||||
|
||||
func (s *StepAPIWithOptionalArgs) Run(r *SessionRunner) (stepResult *StepResult, err error) {
|
||||
defer func() {
|
||||
if err != nil {
|
||||
r.summary.Success = false
|
||||
}
|
||||
stepResult.StepType = stepTypeAPI
|
||||
}()
|
||||
// extend request with referenced API
|
||||
|
||||
Reference in New Issue
Block a user