Update content hash due to new field

This commit is contained in:
freddygv 2021-03-11 19:59:19 -07:00
parent eeed9011b4
commit 3d85c29445
1 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ func TestAgent_Service(t *testing.T) {
Service: "web-sidecar-proxy", Service: "web-sidecar-proxy",
Port: 8000, Port: 8000,
Proxy: expectProxy.ToAPI(), Proxy: expectProxy.ToAPI(),
ContentHash: "9d9b74b6df3fccd9", ContentHash: "fa3af167b81f6721",
Weights: api.AgentWeights{ Weights: api.AgentWeights{
Passing: 1, Passing: 1,
Warning: 1, Warning: 1,
@ -411,7 +411,7 @@ func TestAgent_Service(t *testing.T) {
// Copy and modify // Copy and modify
updatedResponse := *expectedResponse updatedResponse := *expectedResponse
updatedResponse.Port = 9999 updatedResponse.Port = 9999
updatedResponse.ContentHash = "a0d21e81f72cdf7b" updatedResponse.ContentHash = "fa3af167b81f6721"
// Simple response for non-proxy service registered in TestAgent config // Simple response for non-proxy service registered in TestAgent config
expectWebResponse := &api.AgentService{ expectWebResponse := &api.AgentService{