Class SpringBootPropertiesTest

java.lang.Object
org.broadleafcommerce.test.common.boot.properties.SpringBootPropertiesTest

@SpringBootTest public class SpringBootPropertiesTest extends Object
Test that ensures our BroadleafEnvironmentConfiguringApplicationListener is applied automatically in a Spring Boot environment, and that any application.properties files overrides any of the Broadleaf sources
Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

    • TEST_PROPERTY

      public static final String TEST_PROPERTY
      See Also:
    • env

      @Autowired protected org.springframework.core.env.ConfigurableEnvironment env
  • Constructor Details

    • SpringBootPropertiesTest

      public SpringBootPropertiesTest()
  • Method Details

    • testProfileSourcesRegisteredOverridesCommon

      public void testProfileSourcesRegisteredOverridesCommon()
    • testBootPropertiesOverrideBroadleaf

      public void testBootPropertiesOverrideBroadleaf()