Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@Tag(name = "Club Registration", description = "동아리 등록 요청 API")
@RestController
@RequestMapping("/clubs")
@RequestMapping("/konect/clubs")
@RequiredArgsConstructor
public class ClubRegistrationRequestController implements ClubRegistrationRequestApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void registerClubWithoutLogin() throws Exception {
);

// when & then
performPost("/clubs/registration-requests", request)
performPost("/konect/clubs/registration-requests", request)
.andExpect(status().isCreated());
}

Expand All @@ -54,7 +54,7 @@ void registerClubWithoutImages() throws Exception {
);

// when & then
performPost("/clubs/registration-requests", request)
performPost("/konect/clubs/registration-requests", request)
.andExpect(status().isCreated());
}

Expand All @@ -74,7 +74,7 @@ void registerClubWithMissingFields() throws Exception {
);

// when & then
performPost("/clubs/registration-requests", request)
performPost("/konect/clubs/registration-requests", request)
.andExpect(status().isBadRequest());
}

Expand All @@ -101,7 +101,7 @@ void registerClubWithTooManyImages() throws Exception {
);

// when & then
performPost("/clubs/registration-requests", request)
performPost("/konect/clubs/registration-requests", request)
.andExpect(status().isBadRequest());
}

Expand All @@ -122,7 +122,7 @@ void registerClubWithLongIntroduction() throws Exception {
);

// when & then
performPost("/clubs/registration-requests", request)
performPost("/konect/clubs/registration-requests", request)
.andExpect(status().isBadRequest());
}

Expand All @@ -135,7 +135,7 @@ void requestClubInformationUpdateWithoutLogin() throws Exception {
ClubInformationUpdateRequestDto request = createInformationUpdateRequest();

// when & then
performPost("/clubs/" + club.getId() + "/information-update-requests", request)
performPost("/konect/clubs/" + club.getId() + "/information-update-requests", request)
.andExpect(status().isCreated());
}

Expand All @@ -146,7 +146,7 @@ void requestClubInformationUpdateWithUnknownClub() throws Exception {
ClubInformationUpdateRequestDto request = createInformationUpdateRequest();

// when & then
performPost("/clubs/" + Integer.MAX_VALUE + "/information-update-requests", request)
performPost("/konect/clubs/" + Integer.MAX_VALUE + "/information-update-requests", request)
.andExpect(status().isNotFound());
}

Expand All @@ -167,7 +167,7 @@ void requestClubInformationUpdateWithMissingFields() throws Exception {
);

// when & then
performPost("/clubs/" + club.getId() + "/information-update-requests", request)
performPost("/konect/clubs/" + club.getId() + "/information-update-requests", request)
.andExpect(status().isBadRequest());
}

Expand Down
Loading