This commit is contained in:
2
go.mod
2
go.mod
@@ -1,5 +1,5 @@
|
|||||||
module apitester
|
module apitester
|
||||||
|
|
||||||
go 1.23.1
|
go 1.24.1
|
||||||
|
|
||||||
require github.com/iancoleman/orderedmap v0.3.0
|
require github.com/iancoleman/orderedmap v0.3.0
|
||||||
|
@@ -161,6 +161,7 @@ func RunTest(testCase *TestCase) error {
|
|||||||
json.Unmarshal(body, &b)
|
json.Unmarshal(body, &b)
|
||||||
if b != nil {
|
if b != nil {
|
||||||
testCase.ResultBodyMap = b.(map[string]interface{})
|
testCase.ResultBodyMap = b.(map[string]interface{})
|
||||||
|
//fmt.Printf("Body map: '%v'\n", testCase.ResultBodyMap)
|
||||||
//bodyMap = b.(map[string]interface{})
|
//bodyMap = b.(map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user