diff --git a/spring-boot-modules/spring-boot-data-3/src/test/java/com/baeldung/skipselectbeforeinsert/SkipSelectBeforeInsertIntegrationTest.java b/spring-boot-modules/spring-boot-data-3/src/test/java/com/baeldung/skipselectbeforeinsert/SkipSelectBeforeInsertIntegrationTest.java index 10250b8725..a801c8728b 100644 --- a/spring-boot-modules/spring-boot-data-3/src/test/java/com/baeldung/skipselectbeforeinsert/SkipSelectBeforeInsertIntegrationTest.java +++ b/spring-boot-modules/spring-boot-data-3/src/test/java/com/baeldung/skipselectbeforeinsert/SkipSelectBeforeInsertIntegrationTest.java @@ -27,7 +27,6 @@ public class SkipSelectBeforeInsertIntegrationTest { private TaskWithGeneratedIdRepository taskWithGeneratedIdRepository; @Autowired private PersistableTaskRepository persistableTaskRepository; - @Autowired private TaskJpaRepository taskJpaRepository; diff --git a/spring-boot-modules/spring-boot-data-3/src/test/resources/application.properties b/spring-boot-modules/spring-boot-data-3/src/test/resources/application.properties index 5593af4735..c1db5721ae 100644 --- a/spring-boot-modules/spring-boot-data-3/src/test/resources/application.properties +++ b/spring-boot-modules/spring-boot-data-3/src/test/resources/application.properties @@ -9,4 +9,4 @@ spring.jpa.hibernate.dialect=org.hibernate.dialect.H2Dialect spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.hibernate.show_sql=true spring.jpa.hibernate.hbm2ddl.auto=create-drop -spring.jpa.defer-datasource-initialization=true \ No newline at end of file +spring.jpa.defer-datasource-initialization=true