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

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

No files matched your search

+2 -2
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)
}