Skip to content

Commit 5aeb317

Browse files
committed
Merge branch '2.1.x'
2 parents 07d6eb6 + 680ac85 commit 5aeb317

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -7476,10 +7476,10 @@ full end-to-end tests with an actual server>>.
74767476

74777477
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-jpa-test]]
74787478
==== Auto-configured Data JPA Tests
7479-
You can use the `@DataJpaTest` annotation to test JPA applications. By default, it
7480-
configures an in-memory embedded database, scans for `@Entity` classes, and configures
7481-
Spring Data JPA repositories. Regular `@Component` beans are not loaded into the
7482-
`ApplicationContext`.
7479+
You can use the `@DataJpaTest` annotation to test JPA applications. By default, it scans
7480+
for `@Entity` classes and configures Spring Data JPA repositories. If an embedded database
7481+
is available on the classpath, it configures one as well. Regular `@Component` beans are
7482+
not loaded into the `ApplicationContext`.
74837483

74847484
TIP: A list of the auto-configuration settings that are enabled by `@DataJpaTest` can be
74857485
<<appendix.adoc#test-auto-configuration,found in the appendix>>.

0 commit comments

Comments
 (0)