Skip to content

Commit 070c596

Browse files
committed
Use api-spring-framework attribute for links to SpringProperties
See gh-26492
1 parent 7a9bf15 commit 070c596

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,8 +1827,7 @@ constructor takes precedence over both `@TestConstructor` and the default mode.
18271827
The default _test constructor autowire mode_ can be changed by setting the
18281828
`spring.test.constructor.autowire.mode` JVM system property to `all`. Alternatively, the
18291829
default mode may be set via the
1830-
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
1831-
mechanism.
1830+
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
18321831
18331832
If the `spring.test.constructor.autowire.mode` property is not set, test class
18341833
constructors will not be automatically autowired.
@@ -4384,8 +4383,7 @@ maximum size is reached, a least recently used (LRU) eviction policy is used to
43844383
close stale contexts. You can configure the maximum size from the command line or a build
43854384
script by setting a JVM system property named `spring.test.context.cache.maxSize`. As an
43864385
alternative, you can set the same property via the
4387-
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
4388-
mechanism.
4386+
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
43894387

43904388
Since having a large number of application contexts loaded within a given test suite can
43914389
cause the suite to take an unnecessarily long time to run, it is often beneficial to

0 commit comments

Comments
 (0)