-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from PawWithU/feat/165-sign-up-api-modify
[Feature] 이동봉사자, 모집자 자체 회원가입 API 수정
- Loading branch information
Showing
10 changed files
with
65 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,11 +71,8 @@ void setUp() { | |
@Test | ||
void 이동봉사자_자체_회원가입() throws Exception{ | ||
//given | ||
VolunteerSignUpRequest request = new VolunteerSignUpRequest("[email protected]", | ||
"pasword12345", | ||
"코넥독", | ||
3, | ||
false); | ||
VolunteerSignUpRequest request = new VolunteerSignUpRequest(true, "한호정", "01011112222", | ||
"[email protected]", "pasword12345", "코넥독", 3); | ||
//when | ||
ResultActions result = mockMvc.perform( | ||
post("/volunteers/sign-up") | ||
|
@@ -90,13 +87,12 @@ void setUp() { | |
@Test | ||
void 이동봉사_중개_자체_회원가입() throws Exception{ | ||
//given | ||
IntermediarySignUpRequest request = new IntermediarySignUpRequest("[email protected]", | ||
IntermediarySignUpRequest request = new IntermediarySignUpRequest(true, "한호정", "01011112222", "[email protected]", | ||
"pasword12345", | ||
"이동봉사 단체", | ||
"https://connectdog.site", | ||
"안녕하세요 코넥독입니다.", | ||
"인스타그램", | ||
false); | ||
"https://connectdog.site", | ||
"인스타그램"); | ||
|
||
MockMultipartFile authImage = new MockMultipartFile("authImage", "authImage.png", "multipart/form-data", "uploadFile".getBytes(StandardCharsets.UTF_8)); | ||
MockMultipartFile profileImage = new MockMultipartFile("profileImage", "profileImage.png", "multipart/form-data", "uploadFile".getBytes(StandardCharsets.UTF_8)); | ||
|