https://kotlinlang.org logo
#ktor
Title
# ktor
h

helpermethod

03/08/2023, 7:43 AM
Hi! I'm trying to wrap my head around
externalServices
. Are the mock servcices only called by the client created in the
testApplicaton
? So if I wanted to make use of those in my application, I'd need to pass in the test client as the client used by my service? The documentation is a little bit unclear.
👌 1
🦻 1
a

Aleksei Tirman [JB]

03/13/2023, 12:06 PM
Why you’d want to use the
externalServices
in a real application?
h

helpermethod

03/17/2023, 7:28 AM
Ah sorry not to be clear. I want to use it in my tests, but it seems
externalServices
can only be used with the Ktor Client, and not some other non-Ktor Client (I need to use a Java Twitter client).
👌 1
8 Views