Skip to content

Commit 6e2bcb7

Browse files
fix test
1 parent 02cb4f0 commit 6e2bcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/groovy/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtilsTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class SystemParticipantValidationUtilsTest extends Specification {
295295

296296
where:
297297
invalidHpType || expectedException
298-
new HpTypeInput(uuid, id, capex, opex, Quantities.getQuantity(0, ACTIVE_POWER_IN), cosPhiRated, pThermal) || new InvalidEntityException("The following quantities have to be positive: 0 kW", invalidHpType)
298+
new HpTypeInput(uuid, id, capex, opex, Quantities.getQuantity(0, S_RATED), cosPhiRated, pThermal) || new InvalidEntityException("The following quantities have to be positive: 0 kVA", invalidHpType)
299299
new HpTypeInput(uuid, id, capex, opex, sRated, cosPhiRated, Quantities.getQuantity(0, ACTIVE_POWER_IN)) || new InvalidEntityException("The following quantities have to be positive: 0 kW", invalidHpType)
300300
}
301301

0 commit comments

Comments
 (0)