From cacdc5a048851370908f1b0e7963063bc12fec64 Mon Sep 17 00:00:00 2001 From: jyj1289 Date: Fri, 15 Nov 2024 13:35:28 +0900 Subject: [PATCH] =?UTF-8?q?refactor(#165):=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EB=B0=8F=20=EB=AC=B8=EC=84=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=EB=B3=80=EA=B2=BD=20-=20=EC=9E=85=ED=95=99=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=EC=9B=90=20=EC=96=91=EC=8B=9D=20=EB=8B=A4=EC=9A=B4?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EA=B8=B0=EB=8A=A5=EC=9D=B4=EA=B8=B0?= =?UTF-8?q?=EB=95=8C=EB=AC=B8=EC=97=90=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=EB=93=A4=EA=B3=BC=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=EC=9D=84=20=EC=88=98=EC=A0=95=ED=95=98?= =?UTF-8?q?=EC=98=80=EC=8A=B5=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/asciidoc/form.adoc | 4 ++-- .../form/DownloadAdmissionAndPledgeFormatUseCaseTest.java | 6 +++--- .../maru/presentation/form/FormControllerTest.java | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/docs/asciidoc/form.adoc b/src/docs/asciidoc/form.adoc index 3fb997a..144a8e8 100644 --- a/src/docs/asciidoc/form.adoc +++ b/src/docs/asciidoc/form.adoc @@ -316,8 +316,8 @@ include::{snippets}/form-controller-test/원서_서류를_업로드할_때_파 ===== pdf 파일이 아닌 경우 include::{snippets}/form-controller-test/원서_서류를_업로드할_때_콘텐츠_타입이_다르다면_에러가_발생한다/http-response.adoc[] -=== 입학등록원 및 금연서약서 다운로드 -최종합격한 지원자는 입학등록원 및 금연서약서를 다운로드 받을 수 있습니다. +=== 입학등록원 및 금연서약서 양식 다운로드 +최종합격한 지원자는 입학등록원 및 금연서약서 양식을 다운로드 받을 수 있습니다. ==== 요청 형식 ===== Request Header diff --git a/src/test/java/com/bamdoliro/maru/application/form/DownloadAdmissionAndPledgeFormatUseCaseTest.java b/src/test/java/com/bamdoliro/maru/application/form/DownloadAdmissionAndPledgeFormatUseCaseTest.java index 2cadc6f..33eb796 100644 --- a/src/test/java/com/bamdoliro/maru/application/form/DownloadAdmissionAndPledgeFormatUseCaseTest.java +++ b/src/test/java/com/bamdoliro/maru/application/form/DownloadAdmissionAndPledgeFormatUseCaseTest.java @@ -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); @@ -64,7 +64,7 @@ public class DownloadAdmissionAndPledgeFormatUseCaseTest { } @Test - void 최종합격하지않은_지원자가_입학등록원_및_금연서약서를_다운받으면_에러가_발생한다() { + void 최종합격하지않은_지원자가_입학등록원_및_금연서약서_양식을_다운받으면_에러가_발생한다() { //given User user = UserFixture.createUser(); Form form = FormFixture.createForm(FormType.REGULAR); @@ -81,7 +81,7 @@ public class DownloadAdmissionAndPledgeFormatUseCaseTest { } @Test - void 입학등록원_및_금연서약서를_다운받을_때_모종의_이유로_변환_과정에서_실패하면_에러가_발생한다() { + void 입학등록원_및_금연서약서_양식을_다운받을_때_모종의_이유로_변환_과정에서_실패하면_에러가_발생한다() { //given User user = UserFixture.createUser(); Form form = FormFixture.createForm(FormType.REGULAR); diff --git a/src/test/java/com/bamdoliro/maru/presentation/form/FormControllerTest.java b/src/test/java/com/bamdoliro/maru/presentation/form/FormControllerTest.java index dde4143..fd085b6 100644 --- a/src/test/java/com/bamdoliro/maru/presentation/form/FormControllerTest.java +++ b/src/test/java/com/bamdoliro/maru/presentation/form/FormControllerTest.java @@ -1123,7 +1123,7 @@ class FormControllerTest extends RestDocsTestSupport { } @Test - void 최종합격자가_입학등록원_및_금연서약서를_다운받는다() throws Exception { + void 최종합격자가_입학등록원_및_금연서약서_양식을_다운받는다() throws Exception { User user = UserFixture.createUser(); MockMultipartFile file = new MockMultipartFile( "file", @@ -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);