Skip to content

Commit

Permalink
test: remove redundant throws in IngressEnricherTest.setUp (#2618)
Browse files Browse the repository at this point in the history
Remove unnecessary exception declaration in IngressEnricherTest.setUp
  • Loading branch information
AmitPatil05 authored Feb 5, 2024
1 parent 44bbcdb commit 4a874ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class IngressEnricherTest {
private KitLogger logger;

@BeforeEach
void setUp() throws Exception {
void setUp() {
context = mock(JKubeEnricherContext.class,RETURNS_DEEP_STUBS);
logger = spy(new KitLogger.SilentLogger());
when(context.getLog()).thenReturn(logger);
Expand Down

0 comments on commit 4a874ff

Please sign in to comment.