mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 17:35:22 +00:00
Create spring-boot-resttestclient and spring-boot-webtestclient modules
Create `spring-boot-resttestclient` and `spring-boot-webtestclient` modules to hold test client auto-configuration and `TestRestTemplate` code. Previous these classes were contained in `spring-boot-resetclient-test` and `spring-boot-webclient-test` which was incorrect since the `-test` modules should hold code need to test the given modules, not supporting test classes. See gh-46356 Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
This commit is contained in:
committed by
Phillip Webb
co-authored by
Phillip Webb
parent
16d8878cd8
commit
9eb05ebb10
+1
-1
@@ -26,7 +26,7 @@ import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.MethodSource;
|
||||
|
||||
import org.springframework.boot.restclient.RestTemplateBuilder;
|
||||
import org.springframework.boot.restclient.test.TestRestTemplate;
|
||||
import org.springframework.boot.testrestclient.TestRestTemplate;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ package org.springframework.boot.devtools.tests;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.MethodSource;
|
||||
|
||||
import org.springframework.boot.restclient.test.TestRestTemplate;
|
||||
import org.springframework.boot.testrestclient.TestRestTemplate;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
Reference in New Issue
Block a user