Hi! Is there some way in Ktor to use the the norma...
# ktor
h
Hi! Is there some way in Ktor to use the the normal application.conf in testing but overwrite only some of the properties? I want my application to fail if credentials are not provided, but want to provide some dummy values during testing.
Copy code
twitter {
    apiKey = ${TWITTER_API_KEY}
    apiSecretKey = ${TWITTER_API_SECRET_KEY}
    accessToken = ${TWITTER_ACCESS_TOKEN}
    accessTokenSecret = ${TWITTER_ACCESS_TOKEN_SECRET}
}
P.S.: Found some hints here
a
This answer may help you.
👍 1
h
Thank you!