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 bc726e18e..0ac40e07e 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 @@ -48,10 +48,15 @@ public class Neo4jWebTests extends AbstractWebIntegrationTests { @EnableTransactionManagement static class TestConfig extends Neo4jConfiguration { + public TestConfig() { + setBasePackage(Neo4jWebTests.class.getPackage().getName()); + } + @Bean(destroyMethod = "shutdown") public GraphDatabaseService graphDatabaseService() { return new GraphDatabaseFactory().newEmbeddedDatabase("target/graphdb"); } + } @Autowired TestDataPopulator populator;