mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Update @MockBean and @SpyBean to support field generics. Prior to this commit the following fields would fail with a "Duplicate mock definition" exception: @MockBean private IdentityProvider<PasswordIdentity> passwordIdentityProvider; @MockBean private IdentityProvider<Oauth2Identity> oauth2IdentityProvider; Fixes gh-6602 |
||
---|---|---|
.. | ||
src | ||
pom.xml |