integration/container: TestKillDifferentUserContainer: adjust API version

TestKillDifferentUserContainer was migrated from integration-cli in
commit 0855922cd3. 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>
This commit is contained in:
Sebastiaan van Stijn 2023-12-04 18:14:08 +01:00
parent 7dc5f9d0b1
commit 410feab962
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -147,7 +147,7 @@ func TestKillDifferentUserContainer(t *testing.T) {
skip.If(t, testEnv.DaemonInfo.OSType == "windows", "User containers (container.Config.User) are not yet supported on %q platform", testEnv.DaemonInfo.OSType)
ctx := setupTest(t)
apiClient := request.NewAPIClient(t, client.WithVersion("1.19"))
apiClient := request.NewAPIClient(t)
id := container.Run(ctx, t, apiClient, func(c *container.TestContainerConfig) {
c.Config.User = "daemon"