change: update models

This commit is contained in:
debugtalk
2021-12-24 18:44:54 +08:00
parent 5fc748e7fc
commit 54f9364765
4 changed files with 19 additions and 19 deletions

View File

@@ -178,7 +178,7 @@ func (s *StepRequest) CallRefCase(tc *TestCase) *StepTestCaseWithOptionalArgs {
func (s *StepRequest) StartTransaction(name string) *StepTransaction {
s.step.Transaction = &Transaction{
Name: name,
Type: TransactionStart,
Type: transactionStart,
}
return &StepTransaction{
step: s.step,
@@ -189,7 +189,7 @@ func (s *StepRequest) StartTransaction(name string) *StepTransaction {
func (s *StepRequest) EndTransaction(name string) *StepTransaction {
s.step.Transaction = &Transaction{
Name: name,
Type: TransactionEnd,
Type: transactionEnd,
}
return &StepTransaction{
step: s.step,