Dariusz Kuc
03/07/2023, 8:19 PMApplicationRequest
that I can use for testing? tried using
val call = TestApplicationEngine().createCall {
this.method = <http://HttpMethod.Post|HttpMethod.Post>
this.setBody(mapper.writeValueAsBytes(mockRequest))
}
but I cannot read the object back using call.receive<Foo>()
(can only read it as plain text) -> am I missing anything?ApplicationRequest
and we are pretty much stuck with integration tests....