test(creator): 채널 홈 API 응답 계약을 보강한다
This commit is contained in:
@@ -123,6 +123,10 @@ class CreatorChannelHomeControllerTest @Autowired constructor(
|
||||
.andExpect(jsonPath("$.data.latestAudioContent.isFirstContent").value(true))
|
||||
.andExpect(jsonPath("$.data.latestAudioContent.isOriginalSeries").value(true))
|
||||
.andExpect(jsonPath("$.data.currentLive.isAdult").value(true))
|
||||
.andExpect(jsonPath("$.data.schedules[0].isAdult").doesNotExist())
|
||||
.andExpect(jsonPath("$.data.channelDonations[0].donationId").doesNotExist())
|
||||
.andExpect(jsonPath("$.data.channelDonations[0].memberId").doesNotExist())
|
||||
.andExpect(jsonPath("$.data.channelDonations[0].isSecret").doesNotExist())
|
||||
.andExpect(jsonPath("$.data.series[0].isNew").value(true))
|
||||
.andExpect(jsonPath("$.data.series[0].isOriginal").value(true))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user