CockroachDB - Modify tests, use BigDecimal over Double etc

This commit is contained in:
Rob Bygrave committed 2022-02-04 10:42:07 +13:00
1 parent daf0ba67a4
commit b3f110b7a5
12 files changed
+30 -25

No files matched your search

@@ -13,6 +13,7 @@ import org.tests.model.basic.ResetBasicData;
import org.tests.model.tevent.TEventMany;
import org.tests.model.tevent.TEventOne;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.Instant;
import java.util.List;
@@ -53,7 +54,7 @@ public class TestAggregationCount extends BaseTestCase {
for (TEventOne eventOne : list) {
// lazy loading on Aggregation properties
// is not expected to work at this stage
Double totalAmount = eventOne.getTotalAmount();
BigDecimal totalAmount = eventOne.getTotalAmount();
assertThat(totalAmount).isNull();
}
}