Signed-off-by: Christopher Crone <christopher.crone@docker.com>
| ... | ... |
@@ -3,15 +3,14 @@ package system |
| 3 | 3 |
import ( |
| 4 | 4 |
"testing" |
| 5 | 5 |
|
| 6 |
- "github.com/docker/docker/integration-cli/request" |
|
| 6 |
+ "github.com/docker/docker/integration/util/request" |
|
| 7 | 7 |
"github.com/stretchr/testify/assert" |
| 8 | 8 |
"github.com/stretchr/testify/require" |
| 9 | 9 |
"golang.org/x/net/context" |
| 10 | 10 |
) |
| 11 | 11 |
|
| 12 | 12 |
func TestVersion(t *testing.T) {
|
| 13 |
- client, err := request.NewClient() |
|
| 14 |
- require.NoError(t, err) |
|
| 13 |
+ client := request.NewAPIClient(t) |
|
| 15 | 14 |
|
| 16 | 15 |
version, err := client.ServerVersion(context.Background()) |
| 17 | 16 |
require.NoError(t, err) |