File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7195,10 +7195,10 @@ full end-to-end tests with an actual server>>.
7195
7195
7196
7196
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-jpa-test]]
7197
7197
==== Auto-configured Data JPA Tests
7198
- You can use the `@DataJpaTest` annotation to test JPA applications. By default, it
7199
- configures an in-memory embedded database, scans for `@Entity` classes, and configures
7200
- Spring Data JPA repositories . Regular `@Component` beans are not loaded into the
7201
- `ApplicationContext`.
7198
+ You can use the `@DataJpaTest` annotation to test JPA applications. By default, it scans
7199
+ for `@Entity` classes and configures Spring Data JPA repositories. If an embedded database
7200
+ is available on the classpath, it configures one as well . Regular `@Component` beans are
7201
+ not loaded into the `ApplicationContext`.
7202
7202
7203
7203
TIP: A list of the auto-configuration settings that are enabled by `@DataJpaTest` can be
7204
7204
<<appendix-test-auto-configuration#test-auto-configuration,found in the appendix>>.
You can’t perform that action at this time.
0 commit comments