Skip to content

Commit

Permalink
[FIX] Login 수정 + Member 정보에서 전화번호 삭제 + AfterLoginDto 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjoo-lab committed Sep 26, 2023
1 parent c5f12a1 commit b300625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public class MemberSaveRequest {

private String phoneNumber;

@Enumerated(EnumType.STRING)
private Role role;

private OAuthRequest oauthRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ void saveMember() throws Exception {

// then
perform.andExpect(status().isOk())
.andExpect(jsonPath("$.accessToken").isString())
.andExpect(jsonPath("$.refreshToken").isString());
.andExpect(jsonPath("$.tokenDto.accessToken").isString())
.andExpect(jsonPath("$.tokenDto.refreshToken").isString());

// docs
perform.andDo(print())
Expand All @@ -112,8 +112,8 @@ void afterSocialLogin() throws Exception {

// then
perform.andExpect(status().isOk())
.andExpect(jsonPath("$.accessToken").isString())
.andExpect(jsonPath("$.refreshToken").isString());
.andExpect(jsonPath("$.tokenDto.accessToken").isString())
.andExpect(jsonPath("$.tokenDto.refreshToken").isString());

// docs
perform.andDo(print())
Expand Down

0 comments on commit b300625

Please sign in to comment.