Skip to content

Commit

Permalink
style : 코드 컨밴션 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
waterricecake committed Sep 6, 2023
1 parent 49f59b8 commit 0444cba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static TripDetailResponse of(final Trip trip, final List<City> cities) {
.map(CityWithPositionResponse::of)
.toList();

String sharedCode = trip.getSharedCode().orElse(null);
final String sharedCode = trip.getSharedCode().orElse(null);

return new TripDetailResponse(
trip.getId(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ void getSharedTrip_UnsharedFail() {
private static ExtractableResponse<Response> requestGetTrip(final MemberTokens memberTokens, final Long tripId) {
return RestAssured
.given().log().all()
.header(AUTHORIZATION,
"Bearer " + memberTokens.getAccessToken())
.header(AUTHORIZATION, "Bearer " + memberTokens.getAccessToken())
.cookies("refresh-token", memberTokens.getRefreshToken())
.when().get("/trips/{tripId}", tripId)
.then().log().all()
Expand All @@ -166,8 +165,7 @@ private static ExtractableResponse<Response> requestGetTrip(final MemberTokens m
private void requestDeleteTrip(final MemberTokens memberTokens, final Long tripId) {
RestAssured
.given().log().all()
.header(AUTHORIZATION,
"Bearer " + memberTokens.getAccessToken())
.header(AUTHORIZATION, "Bearer " + memberTokens.getAccessToken())
.cookies("refresh-token", memberTokens.getRefreshToken())
.when().delete("/trips/{tripId}", tripId)
.then().log().all()
Expand Down

0 comments on commit 0444cba

Please sign in to comment.