TestKillDifferentUserContainer was migrated from integration-cli in
commit 0855922cd3cd1e9d846fd85ef968653ff8649a44. Before migration, it
was not using a specific API version, so we can assume "current"
API version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -147,7 +147,7 @@ func TestKillDifferentUserContainer(t *testing.T) {
|
| 147 | 147 |
skip.If(t, testEnv.DaemonInfo.OSType == "windows", "User containers (container.Config.User) are not yet supported on %q platform", testEnv.DaemonInfo.OSType) |
| 148 | 148 |
|
| 149 | 149 |
ctx := setupTest(t) |
| 150 |
- apiClient := request.NewAPIClient(t, client.WithVersion("1.19"))
|
|
| 150 |
+ apiClient := request.NewAPIClient(t) |
|
| 151 | 151 |
|
| 152 | 152 |
id := container.Run(ctx, t, apiClient, func(c *container.TestContainerConfig) {
|
| 153 | 153 |
c.Config.User = "daemon" |