DATAREST-226 - Upgraded to Spring Data Neo4j 3.0 snapshots.

This commit is contained in:
Oliver Gierke
2014-01-20 13:48:47 +01:00
parent f02000e619
commit 9159339960
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
<springdata.commons>1.7.0.BUILD-SNAPSHOT</springdata.commons>
<springdata.jpa>1.5.0.BUILD-SNAPSHOT</springdata.jpa>
<springdata.mongodb>1.4.0.BUILD-SNAPSHOT</springdata.mongodb>
<springdata.neo4j>3.0.0.M1</springdata.neo4j>
<springdata.neo4j>3.0.0.BUILD-SNAPSHOT</springdata.neo4j>
<springdata.gemfire>1.3.3.RELEASE</springdata.gemfire>
<hibernate.version>4.2.0.Final</hibernate.version>

View File

@@ -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");
}
}