@MockitoSpyBean on a JpaRepository broken #33800
Labels
in: test
Issues in the test module
status: waiting-for-triage
An issue we've not yet triaged or decided on
type: regression
A bug that is also a regression
Here's a demo unit test reproducing the issue: https://github.com/romainmoreau/spy-demo/blob/master/src/test/java/com/example/demo/DemoMockTest.java
The issue happens with Spring Boot 3.4.0-RC1 and it was working with Spring Boot 3.4.0-M3.
Here's the full stack trace: https://github.com/romainmoreau/spy-demo/actions/runs/11532983997/job/32105377666#step:4:2342
It works with Spring Boot 3.4.0-RC1 if Spring Framework is downgraded to 6.2.0-RC1.
The text was updated successfully, but these errors were encountered: