-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1.1
-
Component/s: Digital Merchandise Management → Options
-
Labels:
-
Business Value (single choice):1
-
Epic Link:
-
Epic/Theme:
CommerceOptionValueHelperImpl requires integration test for all public methods:
public List<CommerceOptionValue> getCPDefinitionCommerceOptionValues( long cpDefinitionId, String json) throws PortalException; public CommerceOptionValue toCommerceOptionValue(String json) throws PortalException; public List<CommerceOptionValue> toCommerceOptionValues(String json) throws JSONException;
test 0L and null parameters
test NoSuchCPDefintion cpDefinition
test empty JSON strings
test invalid JSON strings for JSONException
test valid cases
- relates
-
COMMERCE-3791 Can't link a SKU to a product option
-
- Closed
-
-
COMMERCE-3792 Can't add or edit an option value when Price Type is not null
-
- Closed
-
-
COMMERCE-3793 Can't add an option value when Price Type is Static
-
- Closed
-
-
COMMERCE-3794 When an option's Price Type is set to Static, any existing option values are not displayed
-
- Closed
-