Polish "Fix typo in TestDatabaseAutoConfiguration"
Closes gh-12350
This commit is contained in:
@@ -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 "<<boot-features-jooq>>", earlier in this chapter.)
|
||||
|
||||
`@JooqTest` configures a `DSLContext`. Regular `@Component` beans are not loaded into the
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user