I switched from 4.0.0-M3 to 4.0.0-RC1. Had to change test dependency from spring-boot-starter-restclient to spring-boot-resttestclient. Yet my test fails like this :
No qualifying bean of type 'org.springframework.boot.resttestclient.TestRestTemplate' available: expected at least 1 bean which qualifies as autowire candidate.
When I run my test with debug=true, TestRestTemplateAutoConfiguration is not mentionned in the autoconfiguration report As a matter of fact, this file is empty : org.springframework.boot.autoconfigure.AutoConfiguration.imports. The autoconf is mentionned here, but not picked up by my spring boot test
Comment From: spencergibb
See https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide#using-webclient-or-testresttemplate-and-springboottest
Comment From: fbus
oh. I feel stupid now :D thx !!