Skip to content

Commit

Permalink
Merge pull request #13 from Media-XI/feat/피드_기능
Browse files Browse the repository at this point in the history
fix: 더미 데이터 파일 생성 원복
  • Loading branch information
Hoon9901 authored Aug 29, 2023
2 parents fc23ba1 + fffd9c6 commit b457576
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public Artwork createOrLoadArtwork(int index, boolean isVisible, int mediaSize)
}

private byte[] createImageFile() throws IOException {
return "test".getBytes();
File file = resourceLoader.getResource("classpath:test/img.jpg").getFile();
return Files.readAllBytes(file.toPath());
}

@WithMockCustomUser(username = "testid", role = "USER")
Expand Down

0 comments on commit b457576

Please sign in to comment.