完善依赖性必传的单测

This commit is contained in:
白茶清欢 2024-11-01 18:51:00 +08:00
parent 0e090ee488
commit 4367435ab7

View File

@ -167,7 +167,7 @@ func TestRunFieldDepend(t *testing.T) {
define.RequiredCondition{
DependOnField: "age",
DependOnFieldType: "int",
DependOnFieldStatus: []string{consts.DataStatusIsEmpty, consts.DataStatusIsNil},
DependOnFieldStatus: []string{consts.DataStatusIsEmpty, consts.DataStatusIsNil, consts.DataStatusNotFound},
},
},
},