mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
updated test
This commit is contained in:
@ -10,11 +10,13 @@ func TestStatusResponseSerialization(t *testing.T) {
|
||||
|
||||
// Make status
|
||||
response := StatusResponse{
|
||||
Meta: Meta{
|
||||
Version: "2.0.0",
|
||||
CacheStatus: CacheStatus{},
|
||||
ResultFromCache: false,
|
||||
TTL: time.Now(),
|
||||
Response: Response{
|
||||
Meta: Meta{
|
||||
Version: "2.0.0",
|
||||
CacheStatus: CacheStatus{},
|
||||
ResultFromCache: false,
|
||||
TTL: time.Now(),
|
||||
},
|
||||
},
|
||||
Status: Status{
|
||||
Message: "Server is up and running",
|
||||
|
Reference in New Issue
Block a user