test(home): 인기 커뮤니티 게시글 응답명을 검증한다

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-06-01 22:40:51 +09:00
parent 1bed34425c
commit bd753a4710

View File

@@ -219,7 +219,7 @@ class HomeRecommendationControllerTest @Autowired constructor(
.andExpect(jsonPath("$.data.aiCharacters").isArray) .andExpect(jsonPath("$.data.aiCharacters").isArray)
.andExpect(jsonPath("$.data.genreCreators").isArray) .andExpect(jsonPath("$.data.genreCreators").isArray)
.andExpect(jsonPath("$.data.cheerCreators").isArray) .andExpect(jsonPath("$.data.cheerCreators").isArray)
.andExpect(jsonPath("$.data.popularCommunities").isArray) .andExpect(jsonPath("$.data.popularCommunityPosts").isArray)
assertTrue(output.out.contains("event=home_recommendations_query_success")) assertTrue(output.out.contains("event=home_recommendations_query_success"))
assertTrue(output.out.contains("emptySections=")) assertTrue(output.out.contains("emptySections="))