mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-07 12:37:25 +01:00
[#872] changed the schema required validator to be optional for auth collections
This commit is contained in:
1 parent
4528f075dc
commit
6e9cf986c5
45 files changed
+1166
-445
No files matched your search
@@ -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