Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BindAdviceTraitTest's test failure. message is not following locale(English) setting. #905

Open
Labels
@arthur-yoon

Description

Description

In the BindAdviceTraitTest class, when the locale is set to English by LocaleContextHolder.setLocale(Locale.ENGLISH) in the setUp method with BeforeEach, problem.getViolations().get(*).getMessage() is output in Korean according to my locale instead of English.

Expected Behavior

problem.getViolations().get().getMessage() is "size must be between 3 and 10".
problem.getViolations().get(
).getMessage() is "must be greater than or equal to 0".

Actual Behavior

problem.getViolations().get().getMessage() is "크기가 3에서 10 사이여야 합니다"
problem.getViolations().get(
).getMessage() is "0 이상이어야 합니다"
image

Possible Fix

Steps to Reproduce

Context

Your Environment

  • Version used: 0.29.0-SNAPSHOT
  • Link to your project: nothing changed yet. just test case failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /