Skip to content

Commit

Permalink
test: removed the exception from KubernetesApplyTaskTest.setUp that's…
Browse files Browse the repository at this point in the history
… never thrown #2631 (#2660)
  • Loading branch information
Yogeshknaik authored Feb 13, 2024
1 parent c05fb67 commit 088cc2d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/
package org.eclipse.jkube.gradle.plugin.task;

import java.io.IOException;
import java.net.URL;
import java.util.Collections;

Expand Down Expand Up @@ -51,7 +50,7 @@ class KubernetesApplyTaskTest {
private TestKubernetesExtension extension;

@BeforeEach
void setUp() throws IOException {
void setUp(){
clusterAccessMockedConstruction = mockConstruction(ClusterAccess.class, (mock, ctx) -> {
// OpenShiftClient instance needed due to OpenShift checks performed in KubernetesApply
final OpenShiftClient kubernetesClient = mock(OpenShiftClient.class);
Expand Down

0 comments on commit 088cc2d

Please sign in to comment.