Skip to content

Commit

Permalink
Applied sonar recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakky54 committed Jul 10, 2024
1 parent c0f1274 commit 311ae6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ public static void tearDown() {
}

@Test
public void containsCapturedLogs() {
void containsCapturedLogs() {
Service service = new ServiceWithApacheLog4j();
service.sayHello();

assertThat(logCaptor.getLogs()).hasSize(5);
}

@Test
public void containsExpectedMessages() {
void containsExpectedMessages() {
Service service = new ServiceWithApacheLog4j();
service.sayHello();

Expand Down

0 comments on commit 311ae6c

Please sign in to comment.