Skip to content

feat: 일기에 대한 좋아요 상태 응답 필드 추가 #47

feat: 일기에 대한 좋아요 상태 응답 필드 추가

feat: 일기에 대한 좋아요 상태 응답 필드 추가 #47

GitHub Actions / JUnit Test Report failed Nov 6, 2024 in 0s

54 tests run, 53 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 175 in src/test/java/com/potatocake/everymoment/repository/DiaryRepositoryTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DiaryRepositoryTest.북마크된 일기만 성공적으로 필터링된다.

java.lang.AssertionError: 
Expected size: 1 but was: 10 in:
[com.potatocake.everymoment.entity.Diary@7540dc57,
    com.potatocake.everymoment.entity.Diary@2142ab69,
    com.potatocake.everymoment.entity.Diary@7cba7745,
    com.potatocake.everymoment.entity.Diary@39e27166,
    com.potatocake.everymoment.entity.Diary@4ca761b8,
    com.potatocake.everymoment.entity.Diary@6c787463,
    com.potatocake.everymoment.entity.Diary@74e7d97b,
    com.potatocake.everymoment.entity.Diary@2cdaf44c,
    com.potatocake.everymoment.entity.Diary@33431376,
    com.potatocake.everymoment.entity.Diary@3986b553]
Raw output
java.lang.AssertionError: 
Expected size: 1 but was: 10 in:
[com.potatocake.everymoment.entity.Diary@7540dc57,
    com.potatocake.everymoment.entity.Diary@2142ab69,
    com.potatocake.everymoment.entity.Diary@7cba7745,
    com.potatocake.everymoment.entity.Diary@39e27166,
    com.potatocake.everymoment.entity.Diary@4ca761b8,
    com.potatocake.everymoment.entity.Diary@6c787463,
    com.potatocake.everymoment.entity.Diary@74e7d97b,
    com.potatocake.everymoment.entity.Diary@2cdaf44c,
    com.potatocake.everymoment.entity.Diary@33431376,
    com.potatocake.everymoment.entity.Diary@3986b553]
	at com.potatocake.everymoment.repository.DiaryRepositoryTest.should_FindDiaries_When_FilteringBookmarked(DiaryRepositoryTest.java:175)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)