Open
Conversation
생성된 user의 location에서 req.getRequestURI()와 같이 상대적인 경로를 재사용할 필요가 없다고 판단해 수정하였습니다.
NsWebTestClient에 test를 위한 getLoginCookie메서드를 추가하였습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
킹뽀대님 안녕하세요, 이번 미션 리뷰이 러너덕입니다 :)
저번 주에 말씀드린 대로 리펙토링한 Controller들의 테스트 케이스를 추가해보았어요.
이전에 피드백 하여 주셨던 부분 중, 'setUp에서 feature로 만들어야 할 부분과 각각의 테스트 메서드 안에서 준비해야 할 부분을 구분하라' 는 부분을 기억하려고 노력했는데, 잘 되었는지 한번 확인 부탁드립니다!
그리고 각각의 메서드가 끝날 때마다 setup 에서 만들어주었던 feature를 모두 초기화하고 싶었는데, 현재 프로젝트에서 임시로 사용중인 in memory db에는 delete 기능이 없고, controller에서도 해당 api를 만들기가 애매한 상황이에요. 그래서 초기화하지 않고 일단 테스트를 진행해보았는데요, 아래와 같은 고민이 있습니다.
늦게까지 신경써 리뷰해주셔서 감사합니다! 피드백 부탁드려요 :)