test(home): 인기 커뮤니티 게시글 응답명을 검증한다
This commit is contained in:
@@ -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="))
|
||||||
|
|||||||
Reference in New Issue
Block a user