Hey Hellu! Thank you so much for accepting me. I a...
# server
m
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
Hey @Milton Johansson did you find any solution?
m
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! 🙂
👍 1