diff --git a/test/integration/apiserver/apply/apply_test.go b/test/integration/apiserver/apply/apply_test.go index e0858940c83..d66d5353398 100644 --- a/test/integration/apiserver/apply/apply_test.go +++ b/test/integration/apiserver/apply/apply_test.go @@ -461,7 +461,7 @@ func TestApplyRemoveContainerPort(t *testing.T) { defer closeFn() obj := []byte(`{ - "apiVersion": "extensions/v1beta1", + "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "name": "deployment", @@ -495,7 +495,7 @@ func TestApplyRemoveContainerPort(t *testing.T) { }`) _, err := client.CoreV1().RESTClient().Patch(types.ApplyPatchType). - AbsPath("/apis/extensions/v1beta1"). + AbsPath("/apis/apps/v1"). Namespace("default"). Resource("deployments"). Name("deployment").