From 4ca1e6ae4e613e0208d5f3577997e11e233627db Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Mon, 5 Mar 2018 13:13:07 -0800 Subject: [PATCH] Polish "Fix typo in TestDatabaseAutoConfiguration" Closes gh-12350 --- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- .../orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java | 2 +- 2 files changed, 2 insertions(+), 2 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 ec11a0a24f..a9b5dc8f74 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 @@ -6658,7 +6658,7 @@ A list of the auto-configuration that is enabled by `@JdbcTest` can be You can use `@JooqTest` in a similar fashion as `@JdbcTest` but for jOOQ-related tests. As jOOQ relies heavily on a Java-based schema that corresponds with the database schema, the existing `DataSource` is used. If you want to replace it with an in-memory database, -you can use `@AutoconfigureTestDatabase` to override those settings. (For more about using +you can use `@AutoConfigureTestDatabase` to override those settings. (For more about using jOOQ with Spring Boot, see "<>", earlier in this chapter.) `@JooqTest` configures a `DSLContext`. Regular `@Component` beans are not loaded into the diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java index b2baa3ca64..c3ab302870 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java @@ -58,7 +58,7 @@ public class TestDatabaseAutoConfigurationNoEmbeddedTests { .hasMessageContaining( "If you want an embedded database please put a supported one on the classpath") .hasMessageContaining( - "or tune the replace attribute of @AutoconfigureTestDatabase.")); + "or tune the replace attribute of @AutoConfigureTestDatabase.")); } @Test