Skip to content

Commit

Permalink
test: 수정된 생성자에 대해 변경되지 않았던 테스트 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SJ70 committed Sep 25, 2024
1 parent 22abd0b commit a9b9506
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/java/com/j9/bestmoments/util/VideoGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}

0 comments on commit a9b9506

Please sign in to comment.