TP-24174 | build fix
This commit is contained in:
@@ -16,7 +16,7 @@ import java.lang.reflect.Type
|
||||
import java.nio.charset.StandardCharsets
|
||||
|
||||
fun <T> mockApiResponse(context: Context, type: Type, jsonKey: String): T {
|
||||
val inputStream = context.resources.openRawResource(R.raw.mock)
|
||||
val inputStream = context.resources.openRawResource(com.navi.R.raw.mock)
|
||||
val dataString = String(inputStream.readBytes(), StandardCharsets.UTF_8)
|
||||
val jsonElement = (JsonParser.parseString(dataString) as? JsonObject)?.get(jsonKey)
|
||||
val customGson =
|
||||
|
||||
Reference in New Issue
Block a user