Skip to content

Commit

Permalink
test (gradle-plugin): KubernetesRemoteDevTaskTest.setUp removed "thro…
Browse files Browse the repository at this point in the history
…ws Exception" #2716 (#2730)
  • Loading branch information
vmarzal authored Feb 26, 2024
1 parent 0ef3200 commit 6a0f777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class KubernetesRemoteDevTaskTest {
private Runnable onStart;

@BeforeEach
void setUp() throws Exception {
void setUp() {
when(taskEnvironment.project.getExtensions().getByType(KubernetesExtension.class)).thenReturn(new TestKubernetesExtension());
task = new KubernetesRemoteDevTask(KubernetesExtension.class);
task.jKubeServiceHub = mock(JKubeServiceHub.class, RETURNS_DEEP_STUBS);
Expand Down

0 comments on commit 6a0f777

Please sign in to comment.