refactor: TestCase/TestCaseDef/StepConfig models

This commit is contained in:
lilong.129
2024-11-09 20:15:40 +08:00
parent 2587bbee82
commit 8846e84d19
31 changed files with 621 additions and 563 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func TestLoadCurlCase(t *testing.T) {
}
// curl httpbin.org
if !assert.Equal(t, "curl httpbin.org", tCase.Steps[0].Name) {
if !assert.Equal(t, "curl httpbin.org", tCase.Steps[0].StepName) {
t.Fatal()
}
if !assert.EqualValues(t, "GET", tCase.Steps[0].Request.Method) {