Skip to content

Commit 5483651

Browse files
committed
updating test cases
1 parent 1a3e005 commit 5483651

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎spring-data-neo4j/src/main/java/com/baeldung/spring/data/neo4j/config/MovieDatabaseNeo4jConfiguration.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import org.springframework.transaction.annotation.EnableTransactionManagement;
1111

1212

13-
@EnableTransactionManagement
14-
@EnableScheduling
1513
@ComponentScan(basePackages = {"com.baeldung.spring.data.neo4j.services"})
1614
@Configuration
1715
@EnableNeo4jRepositories(basePackages = "com.baeldung.spring.data.neo4j.repostory")

‎spring-data-neo4j/src/main/java/com/baeldung/spring/data/neo4j/repostory/MovieRepository.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
import org.springframework.data.neo4j.annotation.Query;
55
import org.springframework.data.neo4j.repository.GraphRepository;
66
import org.springframework.data.repository.query.Param;
7+
import org.springframework.stereotype.Repository;
78

89
import java.util.Collection;
910
import java.util.List;
1011
import java.util.Map;
1112

12-
13+
@Repository
1314
public interface MovieRepository extends GraphRepository<Movie> {
1415
Movie findByTitle(@Param("title") String title);
1516

0 commit comments

Comments
 (0)