Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjula Ganepola <[email protected]>
  • Loading branch information
SanjulaGanepola committed Nov 22, 2024
1 parent 6d5fd42 commit 785ca8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/io/github/mapepire_ibmi/TlsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ void failsToGetCertCorrectly() throws Exception {
invalidCreds.setHost("FAKE_HOST");
Tls.getCertificate(invalidCreds).get();
});
System.out.println(e.getMessage());
e.printStackTrace();
assertTrue(e.getMessage().contains("Connection refused: connect"));

assertTrue(e.getMessage().contains("Connection refused"));
}
}

0 comments on commit 785ca8f

Please sign in to comment.