From 59a042d62fc984bcf5df6eb9c3a92a257d526204 Mon Sep 17 00:00:00 2001 From: Pushkal Goyal Date: Wed, 28 Feb 2024 17:35:38 +0530 Subject: [PATCH] removed IOexception --- .../jkube/gradle/plugin/task/KubernetesResourceTaskTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugin/kubernetes/src/test/java/org/eclipse/jkube/gradle/plugin/task/KubernetesResourceTaskTest.java b/gradle-plugin/kubernetes/src/test/java/org/eclipse/jkube/gradle/plugin/task/KubernetesResourceTaskTest.java index 4538119519..dd695436d9 100644 --- a/gradle-plugin/kubernetes/src/test/java/org/eclipse/jkube/gradle/plugin/task/KubernetesResourceTaskTest.java +++ b/gradle-plugin/kubernetes/src/test/java/org/eclipse/jkube/gradle/plugin/task/KubernetesResourceTaskTest.java @@ -38,7 +38,7 @@ class KubernetesResourceTaskTest { public final TaskEnvironmentExtension taskEnvironment = new TaskEnvironmentExtension(); @BeforeEach - void setUp() throws IOException { + void setUp() { when(taskEnvironment.project.getExtensions().getByType(KubernetesExtension.class)) .thenReturn(new TestKubernetesExtension()); }