Skip to content

Commit

Permalink
fix: Fix another unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Niedermann <[email protected]>
  • Loading branch information
stefan-niedermann committed Jan 19, 2024
1 parent 9b74784 commit b8ee853
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public void shouldSkip_ClassNotFoundExceptions_ForOtherCases() {
@Test
public void shouldSkip_KnownExceptions_WithNullMessages() {
assertEquals(ClassNotFoundException.class, ServerCommunicationErrorHandler.translateError(new ClassNotFoundException()).getClass());
assertEquals(UnknownErrorException.class, ServerCommunicationErrorHandler.translateError(new UnknownErrorException()).getClass());
assertEquals(UnknownErrorException.class, ServerCommunicationErrorHandler.translateError(new UnknownErrorException("Foo")).getClass());
}
}

0 comments on commit b8ee853

Please sign in to comment.