diff --git a/pom.xml b/pom.xml index 616fee36a..d1093990f 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ 1.7.0.BUILD-SNAPSHOT 1.5.0.BUILD-SNAPSHOT 1.4.0.BUILD-SNAPSHOT - 3.0.0.M1 + 3.0.0.BUILD-SNAPSHOT 1.3.3.RELEASE 4.2.0.Final diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/neo4j/Neo4jWebTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/neo4j/Neo4jWebTests.java index 160152baf..bc726e18e 100644 --- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/neo4j/Neo4jWebTests.java +++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/neo4j/Neo4jWebTests.java @@ -22,7 +22,7 @@ import java.util.Arrays; import org.junit.Before; import org.junit.Test; import org.neo4j.graphdb.GraphDatabaseService; -import org.neo4j.kernel.EmbeddedGraphDatabase; +import org.neo4j.graphdb.factory.GraphDatabaseFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; @@ -50,7 +50,7 @@ public class Neo4jWebTests extends AbstractWebIntegrationTests { @Bean(destroyMethod = "shutdown") public GraphDatabaseService graphDatabaseService() { - return new EmbeddedGraphDatabase("build/graph.db"); + return new GraphDatabaseFactory().newEmbeddedDatabase("target/graphdb"); } }