Skip to content

[refactor #156] 채팅 요청 목록 API에서 채팅 파트너 조회 로직 리팩토링 #194

[refactor #156] 채팅 요청 목록 API에서 채팅 파트너 조회 로직 리팩토링

[refactor #156] 채팅 요청 목록 API에서 채팅 파트너 조회 로직 리팩토링 #194

GitHub Actions / Test Results failed Nov 22, 2024 in 0s

1 fail, 127 pass in 14s

 28 files   28 suites   14s ⏱️
128 tests 127 ✅ 0 💤 1 ❌
129 runs  128 ✅ 0 💤 1 ❌

Results for commit 70da9d6.

Annotations

Check warning on line 0 in com.dnd.gongmuin.chat_inquiry.service.ChatInquiryServiceTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

[회원이 속한 채팅 요청 목록을 조회할 수 있다.] (com.dnd.gongmuin.chat_inquiry.service.ChatInquiryServiceTest) failed

build/test-results/test/TEST-com.dnd.gongmuin.chat_inquiry.service.ChatInquiryServiceTest.xml [took 0s]
Raw output
java.lang.NullPointerException: Cannot invoke "java.time.LocalDateTime.toString()" because the return value of "com.dnd.gongmuin.chat_inquiry.domain.ChatInquiry.getCreatedAt()" is null
	at com.dnd.gongmuin.chat_inquiry.dto.ChatInquiryResponse.<init>(ChatInquiryResponse.java:27)
	at com.dnd.gongmuin.chat_inquiry.service.ChatInquiryServiceTest.getChatInquiresByMember(ChatInquiryServiceTest.java:147)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)