diff --git a/db/Store_test.go b/db/Store_test.go index eb52edaa..c6e994a9 100644 --- a/db/Store_test.go +++ b/db/Store_test.go @@ -8,7 +8,7 @@ func TestObjectToJSON(t *testing.T) { Title: "Test", } s := ObjectToJSON(v) - if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\"}" { + if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\",\"required\":false,\"type\":\"\",\"description\":\"\"}" { t.Fail() } } @@ -27,7 +27,7 @@ func TestObjectToJSON3(t *testing.T) { Title: "Test", } s := ObjectToJSON(v) - if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\"}" { + if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\",\"required\":false,\"type\":\"\",\"description\":\"\"}" { t.Fail() } }