James Chen
11/26/2022, 6:18 AMHttpClient
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?Aleksei Tirman [JB]
11/28/2022, 11:49 AM