From 915933996073a2662518549675ee1bde4bbd30e1 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Mon, 20 Jan 2014 13:48:47 +0100 Subject: [PATCH] DATAREST-226 - Upgraded to Spring Data Neo4j 3.0 snapshots. --- pom.xml | 2 +- .../springframework/data/rest/webmvc/neo4j/Neo4jWebTests.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); } }