X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=dashboard%2Fwebapp-backend%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fcontroller%2FDefaultContextTest.java;h=aaa48eb7d33f6b4b709881f28503334db8fa3684;hb=1ed271f32c4112736fb528aa0cc228629d2248a6;hp=dba0a32bfd59e01f75c14d33b73b4dd29ce7c455;hpb=9a688995681b92344824c990bb1d838d3cc7cfaa;p=portal%2Fric-dashboard.git diff --git a/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/DefaultContextTest.java b/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/DefaultContextTest.java index dba0a32b..aaa48eb7 100644 --- a/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/DefaultContextTest.java +++ b/dashboard/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/DefaultContextTest.java @@ -34,7 +34,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; * Tests whether the default (not mock) configuration classes run to completion. */ @ExtendWith(SpringExtension.class) -// This way of setting the active profile should not be necessary. See: +// This way of setting the active profile should not be necessary. See: // https://github.com/spring-projects/spring-boot/issues/19788 @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = "spring.profiles.active:default") public class DefaultContextTest { @@ -53,17 +53,15 @@ public class DefaultContextTest { *
  • {@link PortalRestCentralServiceTest#createUserTest()} *
  • {@link PortalRestCentralServiceTest#updateUserTest()} * - * Maybe: - * - * I worked around the problem by using the application.yaml credentials. - * I also annotated this class above trying to limit the active profile, - * but I'm not confident it is working nor that it's needed. + * I worked around the problem by using the application.yaml credentials. I also + * annotated this class above trying to limit the active profile, but I'm not + * confident it is working nor that it's needed. */ @Test public void contextLoads() { // Silence Sonar warning about missing assertion. Assertions.assertTrue(logger.isWarnEnabled()); - logger.info("DefaultContextTest#contextLoads on default profile"); + logger.info("contextLoads on default profile"); } }