File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/test/groovy/edu/ie3/datamodel/utils/validation Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import edu.ie3.datamodel.exceptions.InvalidEntityException
14
14
import edu.ie3.datamodel.models.input.system.characteristic.WecCharacteristicInput
15
15
import edu.ie3.datamodel.models.input.system.type.*
16
16
import edu.ie3.datamodel.models.input.system.type.chargingpoint.ChargingPointType
17
- import edu.ie3.datamodel.models.profile.BdewStandardLoadProfile
18
17
import edu.ie3.datamodel.models.profile.StandardLoadProfile
19
18
import edu.ie3.datamodel.utils.Try
20
19
import edu.ie3.test.common.SystemParticipantTestData
@@ -345,7 +344,7 @@ class SystemParticipantValidationUtilsTest extends Specification {
345
344
}
346
345
347
346
// Helper method to create invalid standard load profiles for testing
348
- private StandardLoadProfile createInvalidStandardLoadProfile (String profileName ) {
347
+ private static StandardLoadProfile createInvalidStandardLoadProfile (String profileName ) {
349
348
return new StandardLoadProfile () {
350
349
@Override
351
350
String getKey () {
@@ -359,6 +358,9 @@ class SystemParticipantValidationUtilsTest extends Specification {
359
358
360
359
@Override
361
360
boolean equals (Object obj ) {
361
+ if (obj instanceof String ) {
362
+ return obj == " Simona"
363
+ }
362
364
return false
363
365
}
364
366
You can’t perform that action at this time.
0 commit comments