mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 03:33:27 +08:00
The mocks being static meant that their state was shared across each test in the class. This resulted in the tests being order dependent. This commit uses instance variables to hold the mocks, thereby ensuring that they're recreated for each test as part of the standard JUnit lifecycle. Closes gh-38363 |
||
---|---|---|
.. | ||
src | ||
build.gradle |