fix(creator): 채널 활동 dday 응답을 매핑한다

This commit is contained in:
2026-06-16 21:18:15 +09:00
parent f7c1a5168f
commit 43c2f6f417
2 changed files with 3 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ data class CreatorChannelFanTalkResponse(
@Keep @Keep
data class CreatorChannelActivityResponse( data class CreatorChannelActivityResponse(
@SerializedName("debutDateUtc") val debutDateUtc: String?, @SerializedName("debutDateUtc") val debutDateUtc: String?,
@SerializedName("dDay") val dDay: String, @SerializedName("dday") val dDay: String,
@SerializedName("liveCount") val liveCount: Long, @SerializedName("liveCount") val liveCount: Long,
@SerializedName("liveDurationHours") val liveDurationHours: Long, @SerializedName("liveDurationHours") val liveDurationHours: Long,
@SerializedName("liveContributorCount") val liveContributorCount: Long, @SerializedName("liveContributorCount") val liveContributorCount: Long,

View File

@@ -26,6 +26,7 @@ class CreatorChannelHomeModelsTest {
assertNull(response.latestAudioContent) assertNull(response.latestAudioContent)
assertNull(response.fanTalk.latestFanTalk) assertNull(response.fanTalk.latestFanTalk)
assertNull(response.activity.debutDateUtc) assertNull(response.activity.debutDateUtc)
assertEquals("D+1", response.activity.dDay)
} }
@Test @Test
@@ -70,7 +71,7 @@ class CreatorChannelHomeModelsTest {
"introduce": "intro", "introduce": "intro",
"activity": { "activity": {
"debutDateUtc": null, "debutDateUtc": null,
"dDay": "D+1", "dday": "D+1",
"liveCount": 1, "liveCount": 1,
"liveDurationHours": 2, "liveDurationHours": 2,
"liveContributorCount": 3, "liveContributorCount": 3,