Skip to content

Commit 327138c

Browse files
committed
Merge branch '2.2.x' into 2.3.x
2 parents c121f9f + 63f7c75 commit 327138c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6591,7 +6591,7 @@ TIP: If you are using `@SpyBean` to spy on a bean with `@Cacheable` methods that
65916591
This ensures that the parameter names are available to the caching infrastructure once the bean has been spied upon.
65926592

65936593
TIP: When you are using `@SpyBean` to spy on a bean that is proxied by Spring, you may need to remove Spring's proxy in some situations, for example when setting expectations using `given` or `when`.
6594-
Use `AopTestUtils.getTargetProxy(yourProxiedSpy)` to do so.
6594+
Use `AopTestUtils.getTargetObject(yourProxiedSpy)` to do so.
65956595

65966596

65976597

0 commit comments

Comments
 (0)