Adapt test to new urls
Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
This commit is contained in:
parent
41f8f0113b
commit
b1764a6864
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func (s *DockerSuite) TestDefaultDockerContainers(c *check.C) {
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
req, err := http.NewRequest("GET", "http://127.0.0.1:8000/version", nil)
|
req, err := http.NewRequest("GET", "http://127.0.0.1:8000/version", nil)
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
req.Host = fmt.Sprintf("%s.docker.localhost", name)
|
req.Host = fmt.Sprintf("%s.docker.localhost", strings.Replace(name, "_", "-", -1))
|
||||||
resp, err := client.Do(req)
|
resp, err := client.Do(req)
|
||||||
|
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
|
|
Loading…
Reference in a new issue