updated usage of Meta
This commit is contained in:
parent
b4aed3496c
commit
d9aae37f7e
@ -16,7 +16,7 @@ func TestNeighborsCacheSetGet(t *testing.T) {
|
||||
|
||||
response := &api.NeighborsResponse{
|
||||
Response: api.Response{
|
||||
Meta: api.Meta{
|
||||
Meta: &api.Meta{
|
||||
TTL: time.Now().UTC().Add(23 * time.Millisecond),
|
||||
},
|
||||
},
|
||||
|
@ -12,7 +12,7 @@ func TestRoutesCacheSetGet(t *testing.T) {
|
||||
|
||||
response := &api.RoutesResponse{
|
||||
Response: api.Response{
|
||||
Meta: api.Meta{
|
||||
Meta: &api.Meta{
|
||||
TTL: time.Now().UTC().Add(23 * time.Millisecond),
|
||||
},
|
||||
},
|
||||
@ -44,7 +44,7 @@ func TestRoutesCacheLru(t *testing.T) {
|
||||
|
||||
response := &api.RoutesResponse{
|
||||
Response: api.Response{
|
||||
Meta: api.Meta{
|
||||
Meta: &api.Meta{
|
||||
TTL: time.Now().UTC().Add(23 * time.Millisecond),
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user