Commit 4ca1e6ae authored by Madhura Bhave's avatar Madhura Bhave

Polish "Fix typo in TestDatabaseAutoConfiguration"

Closes gh-12350
parent ddd8598e
...@@ -6658,7 +6658,7 @@ A list of the auto-configuration that is enabled by `@JdbcTest` can be ...@@ -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. 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, 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, 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 "<<boot-features-jooq>>", earlier in this chapter.) jOOQ with Spring Boot, see "<<boot-features-jooq>>", earlier in this chapter.)
`@JooqTest` configures a `DSLContext`. Regular `@Component` beans are not loaded into the `@JooqTest` configures a `DSLContext`. Regular `@Component` beans are not loaded into the
......
...@@ -58,7 +58,7 @@ public class TestDatabaseAutoConfigurationNoEmbeddedTests { ...@@ -58,7 +58,7 @@ public class TestDatabaseAutoConfigurationNoEmbeddedTests {
.hasMessageContaining( .hasMessageContaining(
"If you want an embedded database please put a supported one on the classpath") "If you want an embedded database please put a supported one on the classpath")
.hasMessageContaining( .hasMessageContaining(
"or tune the replace attribute of @AutoconfigureTestDatabase.")); "or tune the replace attribute of @AutoConfigureTestDatabase."));
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment