Skip to content

Commit

Permalink
AXIS2-6068 - ConverterUtilTest is locale-dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlazarski committed Jun 5, 2024
1 parent fddeb75 commit f0483ee
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.TimeZone;

import jakarta.activation.DataHandler;
Expand Down Expand Up @@ -569,6 +570,8 @@ public void testCompareInt() {

public void testCompareBigIntegerValueIsLessThanTotalDigitsFacetRestriction() {
//AXIS2-5724 - Handle Decimal String value when casting to Long.
//AXIS2-6068 - ConverterUtilTest is locale-dependent
Locale.setDefault(Locale.US);
BigInteger value = BigInteger.valueOf(100L);
String totalDigitsFromXsd = "3";
String decimalNotationString = ConverterUtil.convertToStandardDecimalNotation(totalDigitsFromXsd).toPlainString();
Expand Down

0 comments on commit f0483ee

Please sign in to comment.