From 89f5ee74b887a91e204a428f03e75b862ecb7d78 Mon Sep 17 00:00:00 2001 From: JUNWON LEE <87055456+murjune@users.noreply.github.com> Date: Mon, 5 Feb 2024 03:50:51 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20profileResponse=20DTO=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20-=20=EB=B3=84=EC=9E=90=EB=A6=AC=20out,=20=ED=98=88?= =?UTF-8?q?=EC=95=A1=ED=98=95=20on=20(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../network/dto/response/profile/ProfileResponse.kt | 4 ++-- .../funch/network/service/MatchingServiceTest.kt | 12 ++++++------ core/network/src/test/res/matching_result.json | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) 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,