Class PropertySourceOverrideDefaultTest
java.lang.Object
org.broadleafcommerce.test.common.properties.PropertySourceOverrideDefaultTest
@ContextConfiguration(initializers=org.broadleafcommerce.common.config.BroadleafEnvironmentConfiguringApplicationListener.class)
@TestPropertySource(properties="dev.only.property=overridevalue")
public class PropertySourceOverrideDefaultTest
extends Object
Tests to ensure that @TestPropertySource actually overrides anything from the default Broadleaf properties with a negative test
to ensure that the {@link @PropertySource} does not override any of the Broadleaf property sources.
- Author:
- Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid
-
Constructor Details
-
PropertySourceOverrideDefaultTest
public PropertySourceOverrideDefaultTest()
-
-
Method Details
-
propertySourceAnnotationDoNotOverrideBroadleafDefaults
public void propertySourceAnnotationDoNotOverrideBroadleafDefaults() -
testPropertySourceAnnotationOverridesBroadleafDeafults
public void testPropertySourceAnnotationOverridesBroadleafDeafults()
-