Skip to content
Snippets Groups Projects
Commit 05881cae authored by Colin DAMON's avatar Colin DAMON
Browse files

Method typo

parent eb1815eb
1 merge request!5Resolve "test method typo"
Pipeline #30119 passed
......@@ -49,7 +49,7 @@ public class ErrorMessagesUnitTest {
errors
.stream()
.filter(error -> error.isEnum())
.forEach(error -> Arrays.stream(error.getEnumConstants()).forEach(value -> messages.forEach(assertMessageExist(value))));
.forEach(error -> Arrays.stream(error.getEnumConstants()).forEach(value -> messages.forEach(assertMessageExists(value))));
}
private List<Properties> loadMessages() {
......@@ -73,7 +73,7 @@ public class ErrorMessagesUnitTest {
};
}
private Consumer<Properties> assertMessageExist(PouetMessage value) {
private Consumer<Properties> assertMessageExists(PouetMessage value) {
return currentMessages -> {
assertThat(currentMessages.getProperty("pouet.error." + value.getMessageKey()))
.as("Can't find message for " + value.getMessageKey() + " in all files, check your configuration")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment