mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
fix: 修复 Test_Issue4193 测试用例的结构问题
This commit is contained in:
@ -727,7 +727,6 @@ func Test_Issue4093(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// https://github.com/gogf/gf/issues/4193
|
||||
func Test_Issue4193(t *testing.T) {
|
||||
type Req struct {
|
||||
@ -755,6 +754,8 @@ func Test_Issue4193(t *testing.T) {
|
||||
"file": "",
|
||||
})
|
||||
t.Assert(content, `{"code":51,"message":"The File field is required","data":null}`)
|
||||
})
|
||||
}
|
||||
|
||||
// Issue4227Req
|
||||
type Issue4227Req struct {
|
||||
@ -811,6 +812,5 @@ func Test_Issue4227(t *testing.T) {
|
||||
resp3 := client.PostContent(ctx, "/hello/123", `{}`)
|
||||
t.Assert(resp3, `{"Authorization":"Bearer token123","query_param":false,"path_param":123,"cookie_param":true,"body_param":false}`)
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user