Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Colin DAMON
pouet
Commits
3e412278
Commit
3e412278
authored
Jul 19, 2020
by
Colin DAMON
Browse files
Merge branch '5-tet-method-typo' into 'master'
Resolve "test method typo" Closes
#5
See merge request
!5
parents
eb1815eb
05881cae
Pipeline
#30369
passed with stage
in 9 minutes and 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/test/java/com/ippon/pouet/common/domain/error/ErrorMessagesUnitTest.java
View file @
3e412278
...
...
@@ -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
(
assertMessageExist
s
(
value
))));
}
private
List
<
Properties
>
loadMessages
()
{
...
...
@@ -73,7 +73,7 @@ public class ErrorMessagesUnitTest {
};
}
private
Consumer
<
Properties
>
assertMessageExist
(
PouetMessage
value
)
{
private
Consumer
<
Properties
>
assertMessageExist
s
(
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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment