Skip to content

Commit

Permalink
Merge pull request #54 from dnd-side-project/feat/#52
Browse files Browse the repository at this point in the history
Fix: 기록하기 테스트 오류 수정
  • Loading branch information
haeyonghahn authored Feb 28, 2024
2 parents 0af846a + 5e04a07 commit eafd043
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
package com.dnd.gooding.unit.record.fixture;

import com.dnd.gooding.record.command.domain.Image;
import com.dnd.gooding.record.query.dto.RecordData;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class RecordDataFixture {

public static RecordData getRecord() {
List<Image> images = new ArrayList<>();
images.add(new Image("http://qwe123123.jpg", LocalDateTime.now()));
images.add(new Image("http://qwe12315153.jpg", LocalDateTime.now()));

return RecordData.builder()
.recordNumber("123qwaf124515")
.placeTitle("바다")
Expand All @@ -22,7 +14,6 @@ public static RecordData getRecord() {
.recorderName("haeyong")
.title("기록1")
.description("기록1 설명")
.images(images)
.build();
}
}

0 comments on commit eafd043

Please sign in to comment.