Skip to content

Commit

Permalink
refactor(#165): 테스트코드 및 문서 이름변경
Browse files Browse the repository at this point in the history
- 입학등록원 양식 다운로드 기능이기때문에 테스트 이름들과 문서 내용을 수정하였습니다.
  • Loading branch information
jyj1289 committed Nov 15, 2024
1 parent b3fb83f commit cacdc5a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/docs/asciidoc/form.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ include::{snippets}/form-controller-test/원서_서류를_업로드할_때_파
===== pdf 파일이 아닌 경우
include::{snippets}/form-controller-test/원서_서류를_업로드할_때_콘텐츠_타입이_다르다면_에러가_발생한다/http-response.adoc[]

=== 입학등록원 및 금연서약서 다운로드
최종합격한 지원자는 입학등록원 및 금연서약서를 다운로드 받을 수 있습니다.
=== 입학등록원 및 금연서약서 양식 다운로드
최종합격한 지원자는 입학등록원 및 금연서약서 양식을 다운로드 받을 수 있습니다.

==== 요청 형식
===== Request Header
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class DownloadAdmissionAndPledgeFormatUseCaseTest {
private MergePdfService mergePdfService;

@Test
void 최종합격한_지원자는_입학등록원__금연서약서를_pdf_다운받는다() {
void 최종합격한_지원자는_입학등록원__금연서약서_양식을_pdf_다운받는다() {
//given
User user = UserFixture.createUser();
Form form = FormFixture.createForm(FormType.REGULAR);
Expand All @@ -64,7 +64,7 @@ public class DownloadAdmissionAndPledgeFormatUseCaseTest {
}

@Test
void 최종합격하지않은_지원자가_입학등록원__금연서약서를_다운받으면_에러가_발생한다() {
void 최종합격하지않은_지원자가_입학등록원__금연서약서_양식을_다운받으면_에러가_발생한다() {
//given
User user = UserFixture.createUser();
Form form = FormFixture.createForm(FormType.REGULAR);
Expand All @@ -81,7 +81,7 @@ public class DownloadAdmissionAndPledgeFormatUseCaseTest {
}

@Test
void 입학등록원__금연서약서를_다운받을__모종의_이유로_변환_과정에서_실패하면_에러가_발생한다() {
void 입학등록원__금연서약서_양식을_다운받을__모종의_이유로_변환_과정에서_실패하면_에러가_발생한다() {
//given
User user = UserFixture.createUser();
Form form = FormFixture.createForm(FormType.REGULAR);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ class FormControllerTest extends RestDocsTestSupport {
}

@Test
void 최종합격자가_입학등록원__금연서약서를_다운받는다() throws Exception {
void 최종합격자가_입학등록원__금연서약서_양식을_다운받는다() throws Exception {
User user = UserFixture.createUser();
MockMultipartFile file = new MockMultipartFile(
"file",
Expand Down Expand Up @@ -1153,7 +1153,7 @@ class FormControllerTest extends RestDocsTestSupport {
}

@Test
void 최종합격자가_아닌_사람이_입학등록원__금연서약서를_다운받으면_에러가_발생한다() throws Exception {
void 최종합격자가_아닌_사람이_입학등록원__금연서약서_양식을_다운받으면_에러가_발생한다() throws Exception {
User user = UserFixture.createUser();

given(authenticationArgumentResolver.supportsParameter(any(MethodParameter.class))).willReturn(true);
Expand Down

0 comments on commit cacdc5a

Please sign in to comment.