Browse Source

Merge branch '2.0.x'

pull/14712/merge
Andy Wilkinson 8 years ago
parent
commit
04d69f10e0
  1. 4
      spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

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

@ -6709,8 +6709,8 @@ NOTE: While Spring's test framework caches application contexts between tests an @@ -6709,8 +6709,8 @@ 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`
influences the cache key, which will most likely increase the number of contexts.
TIP: If you are using `@SpyBean` to spy on a bean with `@Cachable` methods that refer
to parameter's by name, your application must be compiled with `-parameters`. This
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
ensures that the parameter names are available to the caching infrastructure once the
bean has been spied upon.

Loading…
Cancel
Save