-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
문의하기 글자수 제한 20자 → 10자 변경 및 상태코드 200 → 201로 수정 #985
Conversation
ba357cf
to
2923e8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 제우스!
코멘트 하나 남겼는데 사실 저번 리뷰에서 남겼어야 하는 것 같네요 죄송합니다😅
var messageLength10_000 = RandomStringUtils.randomAlphanumeric(10_000); | ||
return Stream.of(messageLength20, messageLength10_000); | ||
} | ||
|
||
@ParameterizedTest | ||
@MethodSource | ||
@DisplayName("실패: 문의 내용 길이 19자 이하, 10,001글자 이상") | ||
@DisplayName("실패: 문의 내용 길이 9자 이하, 10,001글자 이상") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
문의 내용이 공백으로만 이루어져 있는 경우에 대한 테스트도 추가되면 좋을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다 제우스!
@@ -20,6 +21,6 @@ public class VocController implements SpringDocVocController { | |||
@PostMapping("/contact") | |||
public ResponseEntity<Void> create(@Valid @RequestBody VocRequest request) { | |||
vocService.create(request); | |||
return ResponseEntity.ok().build(); | |||
return ResponseEntity.status(HttpStatus.CREATED).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 놓쳤었는데 좋네요 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제우스 굿~!!! 수고했어요~!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와웅 제우스 고생하셨어요~~~ 👍
⚡️ 관련 이슈
#984
📍주요 변경 사항
회의 내용에 따라 글자수 제한을 변경해요.
명세에 따라 문의하기에 성공하면 상태코드 201을 응답하도록 고쳤어요.
🎸기타
관리자 페이지가 생기면 구글 스프레드시트 대신 DB를 사용하는 방식으로 변경돼야 해요.
🍗 PR 첫 리뷰 마감 기한
12/24 21:00