Skip to content

Commit 680ac85

Browse files
committed
Polish
See gh-16714
1 parent d0ca0b2 commit 680ac85

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7195,10 +7195,10 @@ full end-to-end tests with an actual server>>.
71957195

71967196
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-jpa-test]]
71977197
==== 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`.
72027202

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

0 commit comments

Comments
 (0)