diff --git a/jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/KubernetesHelperTest.java b/jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/KubernetesHelperTest.java index c4ed7d5a7c..a0949baef7 100644 --- a/jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/KubernetesHelperTest.java +++ b/jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/KubernetesHelperTest.java @@ -490,7 +490,7 @@ void exportKubernetesClientConfigToFile_worksWithKubernetesMockServer(@TempDir P .hasFieldOrPropertyWithValue("cluster.insecureSkipTlsVerify", true) .extracting("cluster.server", "name") .satisfies(serverUrls -> { - List actualUrls = ((List) serverUrls).stream() + List actualUrls = serverUrls.stream() .map(Object::toString) .collect(Collectors.toList()); assertThat(actualUrls).hasSize(2)