You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/groovy/edu/ie3/datamodel/utils/validation/ConnectorValidationUtilsTest.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ class ConnectorValidationUtilsTest extends Specification {
94
94
GridTestData.lineFtoG.copy().nodeA(GridTestData.nodeG).build() ||1||newInvalidEntityException("LineInput connects the same node, but shouldn't", invalidLine)
95
95
GridTestData.lineFtoG.copy().nodeA(GridTestData.nodeF.copy().subnet(5).build()).build() ||1||newInvalidEntityException("LineInput connects different subnets, but shouldn't", invalidLine)
96
96
GridTestData.lineFtoG.copy().nodeA(GridTestData.nodeF.copy().voltLvl(GermanVoltageLevelUtils.MV_10KV).build()).build() ||1||newInvalidEntityException("LineInput connects different voltage levels, but shouldn't", invalidLine)
97
-
GridTestData.lineFtoG.copy().length(Quantities.getQuantity(0d, METRE)).build() ||1||newInvalidEntityException("The following quantities have to be positive: 0.0 km", invalidLine)
97
+
GridTestData.lineFtoG.copy().length(Quantities.getQuantity(0d, METRE)).build() ||1||newInvalidEntityException("The following quantities have to be positive: 0 km", invalidLine)
98
98
}
99
99
100
100
def"Smoke Test: Correct line type throws no exception"() {
0 commit comments