summaryrefslogtreecommitdiff
path: root/integration-cli/docker_api_images_test.go
diff options
context:
space:
mode:
authorVincent Demeester <vincent@sbr.pm>2017-01-13 17:23:28 +0100
committerVincent Demeester <vincent@sbr.pm>2017-01-17 12:39:08 +0100
commitc8016e669f9507480745a441ba4cd735150ebb85 (patch)
tree5fab0935f951f3830089c9e9585a4f5d58a3e991 /integration-cli/docker_api_images_test.go
parenta7c3389a8223449ed72d796b33a667e603811db8 (diff)
downloaddocker-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.go4
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"