Skip to content

Commit

Permalink
fixing zero address in test
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-bansal committed Oct 14, 2020
1 parent aed5cdb commit 080704a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tlstest/zero_https/all_routes_tls/all_routes_tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var testCasesHttps = []testCase{
},
{
url: "https://localhost:6180/state",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false",
statusCode: 200,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var testCasesHttps = []testCase{
},
{
url: "https://localhost:6180/state",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false",
statusCode: 200,
},
}
Expand Down
2 changes: 1 addition & 1 deletion tlstest/zero_https/no_tls/no_tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var testCasesHttp = []testCase{
},
{
url: "http://localhost:6180/state",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false",
response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false",
statusCode: 200,
},
}
Expand Down

0 comments on commit 080704a

Please sign in to comment.