feat(gift): 선물함 API 계약을 추가한다

This commit is contained in:
2026-10-01 21:16:49 +09:00
parent 1211a1d6a1
commit 352f385dd6
4 changed files with 48 additions and 0 deletions
@@ -163,6 +163,14 @@ class GiftSendRequestViewModelTest {
}
private class FakeGiftApi : GiftApi {
override fun getGiftInbox(
type: String,
page: Int,
size: Int,
authHeader: String
): Single<ApiResponse<kr.co.vividnext.sodalive.v2.gift.data.GiftInboxResponse>> =
Single.error(UnsupportedOperationException())
private val formOptionsResponses = ArrayDeque<Single<ApiResponse<GiftFormOptionsResponse>>>()
private val createGiftResponses = ArrayDeque<Single<ApiResponse<Any>>>()
var lastAuthHeader: String? = null