Commit 33e0b12d authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #14735 from Heemang Han

* gh-14735:
  Correct TIP typo in the documentation
parents 73122fa8 8b08f04e
...@@ -6431,7 +6431,7 @@ NOTE: While Spring's test framework caches application contexts between tests an ...@@ -6431,7 +6431,7 @@ NOTE: While Spring's test framework caches application contexts between tests an
a context for tests sharing the same configuration, the use of `@MockBean` or `@SpyBean` a context for tests sharing the same configuration, the use of `@MockBean` or `@SpyBean`
influences the cache key, which will most likely increase the number of contexts. influences the cache key, which will most likely increase the number of contexts.
PTIP: If you are using `@SpyBean` to spy on a bean with `@Cacheable` methods that refer TIP: If you are using `@SpyBean` to spy on a bean with `@Cacheable` methods that refer
to parameters by name, your application must be compiled with `-parameters`. This to parameters by name, your application must be compiled with `-parameters`. This
ensures that the parameter names are available to the caching infrastructure once the ensures that the parameter names are available to the caching infrastructure once the
bean has been spied upon. bean has been spied upon.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment