mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
test: fix survey vars
This commit is contained in:
parent
4dfab21060
commit
7efee5ead0
@ -27,7 +27,7 @@ func TestObjectToJSON3(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