Levi
12/21/2023, 9:57 PMApplicationConfig
inside of testApplication
?
config.property("foo").getString()
doesn't work due to Unresolved reference: config
and
environment.config.property("foo").getString()
doesn't work due to: Cannot access 'environment': it is internal in 'ApplicationTestBuilder'
What am I missing here? 😃Aleksei Tirman [JB]
01/03/2024, 8:06 AMapplication
's block:
@Test
fun test() = testApplication {
application {
environment.config.property("foo").getString()
}
}