diff --git a/core/network/src/main/java/com/moya/funch/network/dto/response/profile/ProfileResponse.kt b/core/network/src/main/java/com/moya/funch/network/dto/response/profile/ProfileResponse.kt index 9a7621a9..8b21c724 100644 --- a/core/network/src/main/java/com/moya/funch/network/dto/response/profile/ProfileResponse.kt +++ b/core/network/src/main/java/com/moya/funch/network/dto/response/profile/ProfileResponse.kt @@ -13,8 +13,8 @@ data class ProfileResponse( val clubs: List = listOf(), @SerialName("mbti") val mbti: String = "", - @SerialName("constellation") - val constellation: String = "", + @SerialName("bloodType") + val bloodType: String = "", @SerialName("subwayNames") val subwayNames: List = listOf(), ) diff --git a/core/network/src/test/java/com/moya/funch/network/service/MatchingServiceTest.kt b/core/network/src/test/java/com/moya/funch/network/service/MatchingServiceTest.kt index fa56652b..2c1be311 100644 --- a/core/network/src/test/java/com/moya/funch/network/service/MatchingServiceTest.kt +++ b/core/network/src/test/java/com/moya/funch/network/service/MatchingServiceTest.kt @@ -58,12 +58,12 @@ internal class MatchingServiceTest { MatchingResponse( profile = ProfileResponse( - "aaa", - "안드로이드", - listOf(), - "ENFJ", - "전갈자리", - listOf(), + name = "aaa", + jobGroup = "개발자", + clubs = listOf("DEPROMEET"), + mbti = "ENFJ", + bloodType = "AB", + subwayNames = listOf(), ), similarity = 40, chemistryInfos = diff --git a/core/network/src/test/res/matching_result.json b/core/network/src/test/res/matching_result.json index 36590b92..5e344a64 100644 --- a/core/network/src/test/res/matching_result.json +++ b/core/network/src/test/res/matching_result.json @@ -4,10 +4,10 @@ "data": { "profile": { "name": "aaa", - "jobGroup": "안드로이드", - "clubs": [], + "jobGroup": "개발자", + "clubs": ["DEPROMEET"], "mbti": "ENFJ", - "constellation": "전갈자리", + "bloodType": "AB", "subwayNames": [] }, "similarity": 40,