Class ProductionOverridePropertiesTest

java.lang.Object
org.broadleafcommerce.test.common.properties.ProductionOverridePropertiesTest

@ContextConfiguration(initializers=org.broadleafcommerce.common.config.BroadleafEnvironmentConfiguringApplicationListener.class) @ActiveProfiles("production") @DirtiesContext public class ProductionOverridePropertiesTest extends Object
Tests that a non-default active profile (production) overrides everything from common and anything shared. Also tests that shared overrides common
Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

    • env

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

    • ProductionOverridePropertiesTest

      public ProductionOverridePropertiesTest()
  • Method Details

    • testOverriddenProductionProperty

      public void testOverriddenProductionProperty()
    • testOverriddenProductionSharedProperty

      public void testOverriddenProductionSharedProperty()