added extra validators for the collection int64 field options

This commit is contained in:
Gani Georgiev
2024-12-28 10:13:18 +02:00
parent 6c53352643
commit 07fb052da1
43 changed files with 229 additions and 107 deletions

View File

@@ -206,6 +206,17 @@ func TestEditorFieldValidateSettings(t *testing.T) {
},
[]string{},
},
{
"MaxSize > safe json int",
func() *core.EditorField {
return &core.EditorField{
Id: "test",
Name: "test",
MaxSize: 1 << 53,
}
},
[]string{"maxSize"},
},
}
for _, s := range scenarios {