diff options
author | Vincent Demeester <vincent@sbr.pm> | 2017-01-13 17:23:28 +0100 |
---|---|---|
committer | Vincent Demeester <vincent@sbr.pm> | 2017-01-17 12:39:08 +0100 |
commit | c8016e669f9507480745a441ba4cd735150ebb85 (patch) | |
tree | 5fab0935f951f3830089c9e9585a4f5d58a3e991 /integration-cli/docker_api_images_test.go | |
parent | a7c3389a8223449ed72d796b33a667e603811db8 (diff) | |
download | docker-c8016e669f9507480745a441ba4cd735150ebb85.tar.gz |
Use testEnv methods and remove most of the global variables
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat (limited to 'integration-cli/docker_api_images_test.go')
-rw-r--r-- | integration-cli/docker_api_images_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-cli/docker_api_images_test.go b/integration-cli/docker_api_images_test.go index 2908dae4a9..ae2df11162 100644 --- a/integration-cli/docker_api_images_test.go +++ b/integration-cli/docker_api_images_test.go @@ -73,7 +73,7 @@ func (s *DockerSuite) TestAPIImagesSaveAndLoad(c *check.C) { } func (s *DockerSuite) TestAPIImagesDelete(c *check.C) { - if daemonPlatform != "windows" { + if testEnv.DaemonPlatform() != "windows" { testRequires(c, Network) } name := "test-api-images-delete" @@ -97,7 +97,7 @@ func (s *DockerSuite) TestAPIImagesDelete(c *check.C) { } func (s *DockerSuite) TestAPIImagesHistory(c *check.C) { - if daemonPlatform != "windows" { + if testEnv.DaemonPlatform() != "windows" { testRequires(c, Network) } name := "test-api-images-history" |