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
Aleksei Tirman [JB]
11/28/2022, 11:49 AM
Could you please share a code snippet to illustrate your issue?