Skip to content

Commit 24cb0bc

Browse files
committed
[PC-1259] CI 실패 수정 - FakeMatchingDataSource
1 parent 425570a commit 24cb0bc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/data/src/test/java/com/puzzle/data/source/matching/FakeMatchingDataSource.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.puzzle.data.source.matching
22

3+
import com.puzzle.network.model.matching.GetCanFreeMatchResponse
34
import com.puzzle.network.model.matching.GetContactsResponse
45
import com.puzzle.network.model.matching.GetMatchInfoResponse
56
import com.puzzle.network.model.matching.GetOpponentProfileBasicResponse
@@ -73,12 +74,21 @@ class FakeMatchingDataSource : MatchingDataSource {
7374
matchedValueList = listOf("음악", "여행", "독서")
7475
)
7576

77+
override suspend fun getToMeMatchInfoList(): List<GetMatchInfoResponse> = emptyList()
78+
79+
override suspend fun getFromMeMatchInfoList(): List<GetMatchInfoResponse> = emptyList()
80+
81+
override suspend fun getNewInstantMatch() {}
82+
7683
override suspend fun getContacts(): GetContactsResponse = GetContactsResponse()
7784

7885
override suspend fun refuseMatch() {}
7986
override suspend fun reportUser(userId: Int, reason: String) {}
8087
override suspend fun blockUser(matchId: Int) {}
8188
override suspend fun blockContacts(phoneNumbers: List<String>) {}
89+
override suspend fun getCanFreeMatch(): GetCanFreeMatchResponse =
90+
GetCanFreeMatchResponse(canFreeMatch = false)
91+
8292
override suspend fun checkMatchingPiece() {}
8393
override suspend fun acceptMatching(){}
8494
}

0 commit comments

Comments
 (0)