## Background `DryRunModeTest.kt` uses Spring's `@MockBean` annotation which is deprecated in Spring Boot 3.4+. This generates compiler warnings on every test run. ## Tasks - [ ] Replace `@MockBean` annotations in `DryRunModeTest` with `@MockitoBean` (Spring Boot 3.4+) - [ ] Verify `./gradlew test` passes with zero deprecation warnings related to `MockBean` ## References - Spring Boot deprecation: https://github.com/spring-projects/spring-boot/issues/41901 ## Files - `backend/src/test/kotlin/com/factstore/DryRunModeTest.kt`
Background
DryRunModeTest.ktuses Spring's@MockBeanannotation which is deprecated in Spring Boot 3.4+. This generates compiler warnings on every test run.Tasks
@MockBeanannotations inDryRunModeTestwith@MockitoBean(Spring Boot 3.4+)./gradlew testpasses with zero deprecation warnings related toMockBeanReferences
Files
backend/src/test/kotlin/com/factstore/DryRunModeTest.kt