[#872] changed the schema required validator to be optional for auth collections
This commit is contained in:
@@ -96,7 +96,8 @@ func TestCollectionUpsertValidateAndSubmit(t *testing.T) {
|
||||
jsonData string
|
||||
expectedErrors []string
|
||||
}{
|
||||
{"empty create", "", "{}", []string{"name", "schema"}},
|
||||
{"empty create (base)", "", "{}", []string{"name", "schema"}},
|
||||
{"empty create (auth)", "", `{"type":"auth"}`, []string{"name"}},
|
||||
{"empty update", "demo2", "{}", []string{}},
|
||||
{
|
||||
"create failure",
|
||||
|
||||
Reference in New Issue
Block a user