, but the same exact logic is working when fetching from remote, more info in ๐งต
Javier
07/21/2022, 12:37 PM
Copy code
No transformation found: class io.ktor.utils.io.ByteBufferChannel -> class com.javiersc.either.network.ktor.TodoDTO
with response from <http://localhost/path>:
status: 200 OK
response headers:
io.ktor.client.call.NoTransformationFoundException: No transformation found: class io.ktor.utils.io.ByteBufferChannel -> class com.javiersc.either.network.ktor.TodoDTO
with response from <http://localhost/path>:
status: 200 OK
response headers:
Javier
07/21/2022, 12:40 PM
image.png,image.png
Javier
07/21/2022, 12:40 PM
the
CIO
one is working perfectly, meanwhile the
MockEngine
one, which I think is doing the same, it fails
Javier
07/21/2022, 12:40 PM
TodoDTO
is the same class for both tests
Javier
07/21/2022, 12:41 PM
The
TODO
string can be serialized if I use it with the Json without using Ktor