Browse Source
The setProperty() and withProperty() methods in MockEnvironment were originally introduced with (String, String) signatures; however, they should have always had (String, Object) signatures in order to comply with the MockPropertySource and PropertySource APIs. To address that, this commit changes the signatures of these methods so that they only accept Object values for properties. NOTE: this commit only affects the internal MockEnvironment used as a test fixture. This commit does not affect the official, public MockEnvironment implementation in spring-test. See gh-34947 See gh-34948pull/35405/head
1 changed files with 13 additions and 9 deletions
Loading…
Reference in new issue