1. 02 Mar, 2017 2 commits
    • Phillip Webb's avatar
      Polish · 987b6c95
      Phillip Webb authored
      987b6c95
    • Phillip Webb's avatar
      Get published DataSource from EntityManager · 57111aba
      Phillip Webb authored
      Update DataSourceInitializedPublisher to always attempt to obtain the
      published DataSource directly from the EntityManager. In the case where
      the EntityManager doesn't provide a DataSource, the previous logic is
      used.
      
      Fixes gh-8296
      57111aba
  2. 01 Mar, 2017 13 commits
  3. 28 Feb, 2017 4 commits
  4. 27 Feb, 2017 2 commits
  5. 22 Feb, 2017 13 commits
  6. 21 Feb, 2017 1 commit
    • Andy Wilkinson's avatar
      Use name from @SpyBean to disambiguate multiple candidates · 70e802fb
      Andy Wilkinson authored
      Previously, @SpyBean's name attribute was not used when determining
      the name of the bean to spy upon. When there were multiple candidates,
      none of which were primary, this would lead to a failure to find the
      bean to spy upon. This behaviour is also inconsistent with @MockBean
      which does use the name attribute to identify the bean to mock.
      
      This commit updates MockitoPostProcessor to use the name attribute,
      when set, to identify the bean that should be spied upon. For
      consistency with @MockBean it is always used when set. When not set
      the previous logic will continue to be used.
      
      Closes gh-8315
      70e802fb
  7. 20 Feb, 2017 1 commit
  8. 17 Feb, 2017 2 commits
  9. 15 Feb, 2017 2 commits