Merge "[OOM-CPMv2] Fix sonar issue"
authorBogumil Zebek <bogumil.zebek@nokia.com>
Thu, 17 Sep 2020 09:55:46 +0000 (09:55 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 17 Sep 2020 09:55:46 +0000 (09:55 +0000)
certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/EnvsForCsrTest.java
trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/AppExecutorTest.java

index ade13f7..9212269 100644 (file)
@@ -99,7 +99,7 @@ class EnvsForCsrTest {
     }
 
     @Test
-    public void shouldReportThatSystemEnvOuVariableIsNotPresentWhenItWasNotDefined() {
+    void shouldReportThatSystemEnvOuVariableIsNotPresentWhenItWasNotDefined() {
         // when
         final Optional<String> testEnv = envsForCsr.getOrganizationUnit();
 
@@ -191,7 +191,7 @@ class EnvsForCsrTest {
     }
 
     @Test
-    public void shouldReportThatSystemEnvSansVariableIsNotPresentWhenItWasNotDefined() {
+    void shouldReportThatSystemEnvSansVariableIsNotPresentWhenItWasNotDefined() {
         // when
         final Optional<String> testEnv = envsForCsr.getSubjectAlternativesName();
 
index 5c79f6e..19833cb 100644 (file)
@@ -35,7 +35,7 @@ import org.mockito.junit.jupiter.MockitoExtension;
 import org.onap.oom.certservice.postprocessor.merger.exception.AliasConflictException;
 
 @ExtendWith(MockitoExtension.class)
-public class AppExecutorTest {
+class AppExecutorTest {
 
     @Mock
     Runnable logic;