Skip to content

Commit 56913a0

Browse files
committed
Merge branch '2.6.x' into 2.7.x
Closes gh-31360
2 parents 06d7e67 + 186536e commit 56913a0

File tree

1 file changed

+8
-8
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/features

1 file changed

+8
-8
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ You can use `@DataCassandraTest` to test Cassandra applications.
469469
By default, it configures a `CassandraTemplate`, scans for `@Table` classes, and configures Spring Data Cassandra repositories.
470470
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataCassandraTest` annotation is used.
471471
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
472-
(For more about using Cassandra with Spring Boot, see "<<data#data.nosql.cassandra>>", earlier in this chapter.)
472+
(For more about using Cassandra with Spring Boot, see "<<data#data.nosql.cassandra>>".)
473473

474474
TIP: A list of the auto-configuration settings that are enabled by `@DataCassandraTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
475475

@@ -590,7 +590,7 @@ If you prefer your test to run against a real database, you can use the `@AutoCo
590590
You can use `@JooqTest` in a similar fashion as `@JdbcTest` but for jOOQ-related tests.
591591
As jOOQ relies heavily on a Java-based schema that corresponds with the database schema, the existing `DataSource` is used.
592592
If you want to replace it with an in-memory database, you can use `@AutoConfigureTestDatabase` to override those settings.
593-
(For more about using jOOQ with Spring Boot, see "<<data#data.sql.jooq>>", earlier in this chapter.)
593+
(For more about using jOOQ with Spring Boot, see "<<data#data.sql.jooq>>".)
594594
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@JooqTest` annotation is used.
595595
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
596596

@@ -612,7 +612,7 @@ You can use `@DataMongoTest` to test MongoDB applications.
612612
By default, it configures an in-memory embedded MongoDB (if available), configures a `MongoTemplate`, scans for `@Document` classes, and configures Spring Data MongoDB repositories.
613613
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataMongoTest` annotation is used.
614614
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
615-
(For more about using MongoDB with Spring Boot, see "<<data#data.nosql.mongodb>>", earlier in this chapter.)
615+
(For more about using MongoDB with Spring Boot, see "<<data#data.nosql.mongodb>>".)
616616

617617
TIP: A list of the auto-configuration settings that are enabled by `@DataMongoTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
618618

@@ -633,7 +633,7 @@ You can use `@DataNeo4jTest` to test Neo4j applications.
633633
By default, it scans for `@Node` classes, and configures Spring Data Neo4j repositories.
634634
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataNeo4jTest` annotation is used.
635635
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
636-
(For more about using Neo4J with Spring Boot, see "<<data#data.nosql.neo4j>>", earlier in this chapter.)
636+
(For more about using Neo4J with Spring Boot, see "<<data#data.nosql.neo4j>>".)
637637

638638
TIP: A list of the auto-configuration settings that are enabled by `@DataNeo4jTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
639639

@@ -658,7 +658,7 @@ You can use `@DataRedisTest` to test Redis applications.
658658
By default, it scans for `@RedisHash` classes and configures Spring Data Redis repositories.
659659
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataRedisTest` annotation is used.
660660
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
661-
(For more about using Redis with Spring Boot, see "<<data#data.nosql.redis>>", earlier in this chapter.)
661+
(For more about using Redis with Spring Boot, see "<<data#data.nosql.redis>>".)
662662

663663
TIP: A list of the auto-configuration settings that are enabled by `@DataRedisTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
664664

@@ -674,7 +674,7 @@ You can use `@DataLdapTest` to test LDAP applications.
674674
By default, it configures an in-memory embedded LDAP (if available), configures an `LdapTemplate`, scans for `@Entry` classes, and configures Spring Data LDAP repositories.
675675
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataLdapTest` annotation is used.
676676
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
677-
(For more about using LDAP with Spring Boot, see "<<data#data.nosql.ldap>>", earlier in this chapter.)
677+
(For more about using LDAP with Spring Boot, see "<<data#data.nosql.ldap>>".)
678678

679679
TIP: A list of the auto-configuration settings that are enabled by `@DataLdapTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
680680

@@ -773,7 +773,7 @@ include::code:MyRestDocsConfiguration[]
773773
===== Auto-configured Spring Web Services Client Tests
774774
You can use `@WebServiceClientTest` to test applications that call web services using the Spring Web Services project.
775775
By default, it configures a mock `WebServiceServer` bean and automatically customizes your `WebServiceTemplateBuilder`.
776-
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>", earlier in this chapter.)
776+
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>".)
777777

778778

779779
TIP: A list of the auto-configuration settings that are enabled by `@WebServiceClientTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.
@@ -788,7 +788,7 @@ include::code:MyWebServiceClientTests[]
788788
===== Auto-configured Spring Web Services Server Tests
789789
You can use `@WebServiceServerTest` to test applications that implement web services using the Spring Web Services project.
790790
By default, it configures a `MockWebServiceClient` bean that can be used to call your web service endpoints.
791-
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>", earlier in this chapter.)
791+
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>".)
792792

793793

794794
TIP: A list of the auto-configuration settings that are enabled by `@WebServiceServerTest` can be <<test-auto-configuration#appendix.test-auto-configuration,found in the appendix>>.

0 commit comments

Comments
 (0)