File tree Expand file tree Collapse file tree
wallet/wallet-app/src/test/kotlin/co/nilin/opex/wallet/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ import org.slf4j.LoggerFactory
99import org.springframework.beans.factory.annotation.Value
1010import org.springframework.boot.test.context.TestConfiguration
1111import org.springframework.context.annotation.Bean
12+ import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories
1213import org.testcontainers.containers.PostgreSQLContainer
1314import javax.sql.DataSource
1415
1516@TestConfiguration
17+ @EnableR2dbcRepositories(basePackages = [" co.nilin.opex" ])
1618class PostgresEnabledTest (@Value(" \$ {testcontainers.db.name}" ) private val name : String ,
1719 @Value(" \$ {testcontainers.db.username}" ) private val username : String ,
1820 @Value(" \$ {testcontainers.db.password}" ) private val password : String ,
You can’t perform that action at this time.
0 commit comments