mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-21 08:51:05 +01:00
test: fix test
This commit is contained in:
parent
53dc67bff1
commit
599cd15ab3
@ -8,7 +8,7 @@ func TestObjectToJSON(t *testing.T) {
|
||||
Title: "Test",
|
||||
}
|
||||
s := ObjectToJSON(v)
|
||||
if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\",\"required\":false,\"type\":\"\",\"description\":\"\"}" {
|
||||
if s == nil || *s != "{\"name\":\"test\",\"title\":\"Test\",\"required\":false,\"type\":\"\",\"description\":\"\",\"values\":null}" {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user