TP-24174 | build fix

This commit is contained in:
Rajinikanth
2023-04-10 20:13:58 +05:30
parent 821caa4cef
commit d7f4a0a1b4

View File

@@ -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 =