[#872] changed the schema required validator to be optional for auth collections

This commit is contained in:
Gani Georgiev
2022-11-16 15:13:04 +02:00
parent 4528f075dc
commit 6e9cf986c5
45 changed files with 1166 additions and 445 deletions

View File

@@ -215,7 +215,7 @@ func TestSchemaValidate(t *testing.T) {
// no fields
{
schema.NewSchema(),
true,
false,
},
// duplicated field ids
{
@@ -342,7 +342,7 @@ func TestSchemaValue(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if v1 != nil {
if v1 != "[]" {
t.Fatalf("Expected nil, got %v", v1)
}