From 680ac85a2ac99be288364ddf787242c3e3777231 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 4 May 2019 09:13:46 +0200 Subject: [PATCH] Polish See gh-16714 --- .../src/main/asciidoc/spring-boot-features.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 3ab65eb54e8..6f28d7f39ee 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -7195,10 +7195,10 @@ full end-to-end tests with an actual server>>. [[boot-features-testing-spring-boot-applications-testing-autoconfigured-jpa-test]] ==== Auto-configured Data JPA Tests -You can use the `@DataJpaTest` annotation to test JPA applications. By default, it -configures an in-memory embedded database, scans for `@Entity` classes, and configures -Spring Data JPA repositories. Regular `@Component` beans are not loaded into the -`ApplicationContext`. +You can use the `@DataJpaTest` annotation to test JPA applications. By default, it scans +for `@Entity` classes and configures Spring Data JPA repositories. If an embedded database +is available on the classpath, it configures one as well. Regular `@Component` beans are +not loaded into the `ApplicationContext`. TIP: A list of the auto-configuration settings that are enabled by `@DataJpaTest` can be <>.