From a9b9506d3d6fc5d4fb86b0329df8009e1cb1f786 Mon Sep 17 00:00:00 2001 From: SJ70 Date: Wed, 25 Sep 2024 13:59:44 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=EC=88=98=EC=A0=95=EB=90=9C=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=EC=9E=90=EC=97=90=20=EB=8C=80=ED=95=B4=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EB=90=98=EC=A7=80=20=EC=95=8A=EC=95=98=EB=8D=98=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/j9/bestmoments/util/VideoGenerator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/j9/bestmoments/util/VideoGenerator.java b/src/test/java/com/j9/bestmoments/util/VideoGenerator.java index 6339d0b..d0976fb 100644 --- a/src/test/java/com/j9/bestmoments/util/VideoGenerator.java +++ b/src/test/java/com/j9/bestmoments/util/VideoGenerator.java @@ -7,13 +7,14 @@ public final class VideoGenerator { public static Video createVideo(Member member, String title, VideoStatus videoStatus) { - return Video.builder() + Video video = Video.builder() .uploader(member) - .fileUrl(title + "'s fileUrl") .title(title) .description(title + "'s description") .videoStatus(videoStatus) .build(); + video.setVideoUrl(title + "'s fileUrl"); + return video; } }