]> source.dussan.org Git - sonarqube.git/commitdiff
NO-JIRA remove empty warn log assertion in test
authorSteve Marion <steve.marion@sonarsource.com>
Fri, 15 Sep 2023 09:13:34 +0000 (11:13 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 15 Sep 2023 20:03:05 +0000 (20:03 +0000)
server/sonar-webserver/src/test/java/org/sonar/server/platform/web/StaticResourcesServletTest.java

index 858c13dade54a4e86cdfca62e88e8689609ea764..44e6bf08c897e0d9829af9d64d3fe4fbce8f9c37 100644 (file)
@@ -157,7 +157,6 @@ public class StaticResourcesServletTest {
 
     assertThat(response.code()).isEqualTo(404);
     assertThat(logTester.logs(Level.ERROR)).isEmpty();
-    assertThat(logTester.logs(Level.WARN)).isEmpty();
   }
 
   @Test
@@ -169,7 +168,6 @@ public class StaticResourcesServletTest {
 
     assertThat(response.code()).isEqualTo(404);
     assertThat(logTester.logs(Level.ERROR)).isEmpty();
-    assertThat(logTester.logs(Level.WARN)).isEmpty();
   }
 
   @Test