|
|
@ -26,7 +26,7 @@ import org.testcontainers.junit.jupiter.Testcontainers
|
|
|
|
|
|
|
|
|
|
|
|
@SpringBootTest
|
|
|
|
@SpringBootTest
|
|
|
|
@Testcontainers
|
|
|
|
@Testcontainers
|
|
|
|
internal class MyIntegrationTests {
|
|
|
|
class MyIntegrationTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun myTest() {
|
|
|
|
fun myTest() {
|
|
|
@ -36,7 +36,7 @@ internal class MyIntegrationTests {
|
|
|
|
companion object {
|
|
|
|
companion object {
|
|
|
|
|
|
|
|
|
|
|
|
@Container
|
|
|
|
@Container
|
|
|
|
var neo4j: Neo4jContainer<*> = Neo4jContainer<Nothing>("neo4j:5")
|
|
|
|
val neo4j = Neo4jContainer("neo4j:5")
|
|
|
|
|
|
|
|
|
|
|
|
@DynamicPropertySource
|
|
|
|
@DynamicPropertySource
|
|
|
|
fun neo4jProperties(registry: DynamicPropertyRegistry) {
|
|
|
|
fun neo4jProperties(registry: DynamicPropertyRegistry) {
|
|
|
|