Skip to content

Commit 47d307b

Browse files
Fixing test
1 parent b2df229 commit 47d307b

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
@@ -484,7 +484,7 @@ class SystemParticipantValidationUtilsTest extends Specification {
484484
then:
485485
Throwable topEx = thrown()
486486
Throwable e = topEx.cause
487-
e.message == "Cannot validate object of class 'InvalidSystemParticipantTypeInput', as no routine is implemented."
487+
e.message.contains "Cannot validate object of class 'InvalidSystemParticipantTypeInput', as no routine is implemented."
488488
}
489489

490490
def "Checking electric vehicle charging stations leads to an exception"() {

0 commit comments

Comments
 (0)