Skip to content

Commit 59f6661

Browse files
committed
Merge branch '2.7.x'
Closes gh-31361
2 parents 41d327d + 56913a0 commit 59f6661

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
@@ -411,7 +411,7 @@ You can use `@DataCassandraTest` to test Cassandra applications.
411411
By default, it configures a `CassandraTemplate`, scans for `@Table` classes, and configures Spring Data Cassandra repositories.
412412
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataCassandraTest` annotation is used.
413413
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
414-
(For more about using Cassandra with Spring Boot, see "<<data#data.nosql.cassandra>>", earlier in this chapter.)
414+
(For more about using Cassandra with Spring Boot, see "<<data#data.nosql.cassandra>>".)
415415

416416
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>>.
417417

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

@@ -554,7 +554,7 @@ You can use `@DataMongoTest` to test MongoDB applications.
554554
By default, it configures a `MongoTemplate`, scans for `@Document` classes, and configures Spring Data MongoDB repositories.
555555
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@DataMongoTest` annotation is used.
556556
`@EnableConfigurationProperties` can be used to include `@ConfigurationProperties` beans.
557-
(For more about using MongoDB with Spring Boot, see "<<data#data.nosql.mongodb>>", earlier in this chapter.)
557+
(For more about using MongoDB with Spring Boot, see "<<data#data.nosql.mongodb>>".)
558558

559559
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>>.
560560

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

575575
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>>.
576576

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

600600
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>>.
601601

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

616616
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>>.
617617

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

715715

716716
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>>.
@@ -725,7 +725,7 @@ include::code:MyWebServiceClientTests[]
725725
===== Auto-configured Spring Web Services Server Tests
726726
You can use `@WebServiceServerTest` to test applications that implement web services using the Spring Web Services project.
727727
By default, it configures a `MockWebServiceClient` bean that can be used to call your web service endpoints.
728-
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>", earlier in this chapter.)
728+
(For more about using Web Services with Spring Boot, see "<<io#io.webservices>>".)
729729

730730

731731
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)