fix: fixed MessageValidationTest
This commit is contained in:
parent
8dd5b864f3
commit
a69534ff72
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user