Skip to content

Commit 6afd362

Browse files
adapted test
1 parent 9f9034d commit 6afd362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ class EmValidationUtilsTest extends Specification {
3636

3737
where:
3838
invalidEm || expectedSize || expectedException
39-
GridTestData.energyManagementInput.copy().controlStrategy("invalid").build() || 1 || new InvalidEntityException("Control strategy of energy management system must be one of the following: PRIORITIZED, PROPORTIONAL.", invalidEm)
39+
GridTestData.energyManagementInput.copy().controlStrategy(null).build() || 1 || new InvalidEntityException("No control strategy of energy management defined for", invalidEm)
4040
}
4141
}

0 commit comments

Comments
 (0)