diff --git a/rosetta-source/src/main/rosetta/observable-common-func.rosetta b/rosetta-source/src/main/rosetta/observable-common-func.rosetta index 51120511d5..3d454b4efa 100644 --- a/rosetta-source/src/main/rosetta/observable-common-func.rosetta +++ b/rosetta-source/src/main/rosetta/observable-common-func.rosetta @@ -42,3 +42,4 @@ func CashPriceQuantityNoOfUnitsTriangulation: <"Data rule to check the relations set success: if cashPrice exists and noOfUnits exists and notional exists then cashPrice * noOfUnits = notional + else True diff --git a/rosetta-source/src/test/java/cdm/observable/common/functions/CashPriceQuantityNoOfUnitsTriangulationTest.java b/rosetta-source/src/test/java/cdm/observable/common/functions/CashPriceQuantityNoOfUnitsTriangulationTest.java index 958b16dd32..0864e86657 100644 --- a/rosetta-source/src/test/java/cdm/observable/common/functions/CashPriceQuantityNoOfUnitsTriangulationTest.java +++ b/rosetta-source/src/test/java/cdm/observable/common/functions/CashPriceQuantityNoOfUnitsTriangulationTest.java @@ -75,6 +75,6 @@ void shouldReturnSuccessNotApplicableBecauseNoOfUnitsNotDefined() throws IOExcep .collect(Collectors.toList()); Boolean notDefined = func.evaluate(quantity, price); - assertNull(notDefined); + assertTrue(notDefined); } }