Skip to content

Commit

Permalink
Merge pull request #42 from f-lab-edu/feature/40
Browse files Browse the repository at this point in the history
[#40] 로케일에 종속된 메세지 제거
  • Loading branch information
hyeok-kong authored Jul 1, 2024
2 parents 26a2de8 + 3a16cf1 commit 731f535
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ void failedByEmptyNickname() {
Set<ConstraintViolation<GroupJoinRequestDto>> violations = validator.validate(dto);
ConstraintViolation<GroupJoinRequestDto> violation = violations.iterator().next();
assertEquals("nickname", violation.getPropertyPath().toString());
assertEquals("비어 있을 수 없습니다", violation.getMessage());
}

@Test
Expand All @@ -73,6 +72,5 @@ void failedByEmptyAction() {
Set<ConstraintViolation<GroupJoinProcessDto>> violations = validator.validate(dto);
ConstraintViolation<GroupJoinProcessDto> violation = violations.iterator().next();
assertEquals("action", violation.getPropertyPath().toString());
assertEquals("널이어서는 안됩니다", violation.getMessage());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ void failedByEmptyGroupName() {

ConstraintViolation<SaveGroupRequestDto> violation = violations.iterator().next();
assertEquals("groupName", violation.getPropertyPath().toString());
assertEquals("비어 있을 수 없습니다", violation.getMessage());

}

Expand All @@ -79,7 +78,6 @@ void failedByEmptyNickname() {

ConstraintViolation<SaveGroupRequestDto> violation = violations.iterator().next();
assertEquals("nickname", violation.getPropertyPath().toString());
assertEquals("비어 있을 수 없습니다", violation.getMessage());
}

@Test
Expand All @@ -99,7 +97,6 @@ void failedByNullGroupScope() {

ConstraintViolation<SaveGroupRequestDto> violation = violations.iterator().next();
assertEquals("groupScope", violation.getPropertyPath().toString());
assertEquals("널이어서는 안됩니다", violation.getMessage());
}

@Test
Expand All @@ -119,7 +116,6 @@ void failedByNullJoinCondition() {

ConstraintViolation<SaveGroupRequestDto> violation = violations.iterator().next();
assertEquals("joinCondition", violation.getPropertyPath().toString());
assertEquals("널이어서는 안됩니다", violation.getMessage());
}

}

0 comments on commit 731f535

Please sign in to comment.