Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4ca1e6ae
Commit
4ca1e6ae
authored
Mar 05, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish "Fix typo in TestDatabaseAutoConfiguration"
Closes gh-12350
parent
ddd8598e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spring-boot-features.adoc
...ing-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
TestDatabaseAutoConfigurationNoEmbeddedTests.java
...orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
4ca1e6ae
...
@@ -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 `@Auto
c
onfigureTestDatabase` to override those settings. (For more about using
you can use `@Auto
C
onfigureTestDatabase` 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
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java
View file @
4ca1e6ae
...
@@ -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 @Auto
c
onfigureTestDatabase."
));
"or tune the replace attribute of @Auto
C
onfigureTestDatabase."
));
}
}
@Test
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment