Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service connectors code. Closes gh-34757
This commit is contained in:
@@ -21,8 +21,8 @@ import org.testcontainers.containers.Neo4jContainer;
|
||||
import org.testcontainers.junit.jupiter.Container;
|
||||
import org.testcontainers.junit.jupiter.Testcontainers;
|
||||
|
||||
import org.springframework.boot.test.autoconfigure.neo4j.Neo4jServiceConnection;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.testcontainers.service.connection.neo4j.Neo4jServiceConnection;
|
||||
|
||||
@SpringBootTest
|
||||
@Testcontainers
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package org.springframework.boot.docs.howto.testing.testcontainers.serviceconnection
|
||||
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.springframework.boot.test.autoconfigure.neo4j.Neo4jServiceConnection;
|
||||
import org.springframework.boot.test.context.SpringBootTest
|
||||
import org.springframework.boot.testcontainers.service.connection.neo4j.Neo4jServiceConnection;
|
||||
import org.springframework.test.context.DynamicPropertyRegistry
|
||||
import org.springframework.test.context.DynamicPropertySource
|
||||
import org.testcontainers.containers.Neo4jContainer
|
||||
|
||||
Reference in New Issue
Block a user