-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 상세작성 Request에 isCurrent 추가
- Loading branch information
1 parent
3199936
commit 2ceb5d1
Showing
9 changed files
with
51 additions
and
127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ | |
import gohigher.application.port.in.CompletedUpdatingRequest; | ||
import gohigher.application.port.in.SimpleApplicationProcessRequest; | ||
import gohigher.application.port.in.SimpleApplicationRequest; | ||
import gohigher.application.port.in.SpecificApplicationProcessUpdateRequest; | ||
import gohigher.application.port.in.SpecificApplicationUpdateRequest; | ||
import gohigher.application.port.in.SpecificApplicationProcessRequest; | ||
import gohigher.application.port.in.SpecificApplicationRequest; | ||
import gohigher.common.ProcessType; | ||
import gohigher.user.auth.Provider; | ||
import io.restassured.response.ValidatableResponse; | ||
|
@@ -114,13 +114,13 @@ void update_specifically() { | |
String accessToken = signUp("[email protected]", Provider.GOOGLE); | ||
int applicationId = createApplication(accessToken); | ||
|
||
SpecificApplicationUpdateRequest specificApplicationUpdateRequest = new SpecificApplicationUpdateRequest("카카오", | ||
SpecificApplicationRequest specificApplicationRequest = new SpecificApplicationRequest("카카오", | ||
null, null, null, "디자이너", null, null, null, null, null, null, null, | ||
List.of(new SpecificApplicationProcessUpdateRequest("INTERVIEW", "1차 면접", null, true)), null); | ||
List.of(new SpecificApplicationProcessRequest("INTERVIEW", "1차 면접", null, true)), null); | ||
|
||
// when | ||
ValidatableResponse response = put(accessToken, "/v1/applications/" + applicationId + "/specific", | ||
specificApplicationUpdateRequest); | ||
specificApplicationRequest); | ||
|
||
// then | ||
response.statusCode(HttpStatus.OK.value()); | ||
|
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
34 changes: 0 additions & 34 deletions
34
...n/src/main/java/gohigher/application/port/in/SpecificApplicationProcessUpdateRequest.java
This file was deleted.
Oops, something went wrong.
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
75 changes: 0 additions & 75 deletions
75
...lication/src/main/java/gohigher/application/port/in/SpecificApplicationUpdateRequest.java
This file was deleted.
Oops, something went wrong.
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