Hey Hellu!
Thank you so much for accepting me. I am pretty new at Kotlin and is working with a ktor-app right now.
I have not built it from the beginning but I have the main responsibility of the application.
We have some tests in the application but I wanted to higher the test-coverage by using externalServices but the problem is that I get DuplicatePluginException on io.ktor.server.plugins.contentnegotiation.ContentNegotiation because both the mock-server and my application uses the same plugin.
I have tried everything I can think of and that the internet provided to me but nothing works. Can someone please help me, have som kotlin-experts in the team but they are also out of ideas :-(
p
Prajwal Gaikwad
09/24/2022, 2:13 PM
Hey @Milton Johansson did you find any solution?
m
Milton Johansson
09/26/2022, 6:12 AM
Yes! Finally! Needed to set the environment in the application and then start my application with specific http-client that supported externalServices. That solved all my problems! 🙂