diff --git a/KkuMulKum/Source/Promise/SetReadyInfo/Service/SetReadyStatusInfoServiceType.swift b/KkuMulKum/Source/Promise/SetReadyInfo/Service/SetReadyStatusInfoServiceType.swift deleted file mode 100644 index fe1284e7..00000000 --- a/KkuMulKum/Source/Promise/SetReadyInfo/Service/SetReadyStatusInfoServiceType.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// SetReadyStatusInfoServiceType.swift -// KkuMulKum -// -// Created by 예삐 on 7/19/24. -// - -import Foundation - -protocol SetReadyStatusInfoServiceType { - func updateMyPromiseReadyStatus( - with promiseID: Int, - requestModel: MyPromiseReadyInfoModel - ) async throws -> ResponseBodyDTO? -} - -extension PromiseService: SetReadyStatusInfoServiceType { - func updateMyPromiseReadyStatus( - with promiseID: Int, - requestModel: MyPromiseReadyInfoModel - ) async throws -> ResponseBodyDTO? { - return try await request( - with: .updateMyPromiseReadyStatus( - promiseID: promiseID, - requestModel: requestModel - ) - ) - } -} - -final class MockSetReadyStatusInfoService: SetReadyStatusInfoServiceType { - func updateMyPromiseReadyStatus( - with promiseID: Int, - requestModel: MyPromiseReadyInfoModel - ) async throws -> ResponseBodyDTO? { - return ResponseBodyDTO(success: true, data: nil, error: nil) - } -}