mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +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",
|
Title: "Test",
|
||||||
}
|
}
|
||||||
s := ObjectToJSON(v)
|
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()
|
t.Fail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user