mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-21 05:24:05 +02:00
[#6718] fixed collections import error response
This commit is contained in:
1 parent
4cc797071b
commit
46186f84f0
3 files changed
+69
-1
No files matched your search
@@ -54,6 +54,7 @@ func TestGeoPointScan(t *testing.T) {
|
||||
{`{}`, false, `{"lon":1,"lat":2}`},
|
||||
{`[]`, true, `{"lon":1,"lat":2}`},
|
||||
{0, true, `{"lon":1,"lat":2}`},
|
||||
{`{"lon":"1.23","lat":"4.56"}`, true, `{"lon":1,"lat":2}`},
|
||||
{`{"lon":1.23,"lat":4.56}`, false, `{"lon":1.23,"lat":4.56}`},
|
||||
{[]byte(`{"lon":1.23,"lat":4.56}`), false, `{"lon":1.23,"lat":4.56}`},
|
||||
{types.JSONRaw(`{"lon":1.23,"lat":4.56}`), false, `{"lon":1.23,"lat":4.56}`},
|
||||
|
||||
Reference in new issue
Block a user