I'm seeing odd behavior If i create an `HttpClient` from an `ApplicationTestBuilder()` in a test, or...
j
I'm seeing odd behavior If i create an
HttpClient
from an
ApplicationTestBuilder()
in a test, or create an
HttpClient
mockk, and inject that into my code path that uses a normal
HttpClient
(e.g.
HttpClient(CIO)
) during a
testApplication
run. Odd side effects include authentication principals becoming null, and testcontainers not being recognized. For context I'm trying to do this to mock out some behaviors for testing. Does anyone know why this is?
a
Could you please share a code snippet to illustrate your issue?