fix: fixed MessageValidationTest

This commit is contained in:
Yannik Bretschneider 2021-06-06 17:55:43 +02:00
parent 8dd5b864f3
commit a69534ff72

View File

@ -125,7 +125,7 @@ class MessageValidationUtilityTest {
characterConfig.characters = new CharacterProperties[] {racoon, quicksilver, hulk, loki, silversurfer}; characterConfig.characters = new CharacterProperties[] {racoon, quicksilver, hulk, loki, silversurfer};
assertThat(ValidationUtility.validate(characterConfig).get()) assertThat(ValidationUtility.validate(characterConfig).get())
.contains("characters has less than 12 characters", .contains("characters has less than 24 characters",
"characters[4].rangedDamage must be greater than 0", "characters[4].rangedDamage must be greater than 0",
"characters[4].name must not be empty", "characters[4].name must not be empty",
"characters[4].meleeDamage must be greater than 0"); "characters[4].meleeDamage must be greater than 0");