File tree 6 files changed +6
-16
lines changed
src/test/java/org/springframework/boot/web/client
spring-boot-tests/spring-boot-smoke-tests
spring-boot-smoke-test-oauth2-resource-server
spring-boot-smoke-test-reactive-oauth2-resource-server 6 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ bom {
168
168
}
169
169
library(" OkHttp" , " 4.12.0" ) {
170
170
group(" com.squareup.okhttp3" ) {
171
- imports = [
172
- " okhttp-bom "
171
+ modules = [
172
+ " mockwebserver "
173
173
]
174
174
}
175
175
}
@@ -210,8 +210,8 @@ bom {
210
210
}
211
211
library(" Spock Framework" , " 2.3-groovy-4.0" ) {
212
212
group(" org.spockframework" ) {
213
- imports = [
214
- " spock-bom "
213
+ modules = [
214
+ " spock-core "
215
215
]
216
216
}
217
217
}
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ dependencies {
44
44
testImplementation(" io.mockk:mockk" )
45
45
testImplementation(" jakarta.json:jakarta.json-api" )
46
46
testImplementation(" ch.qos.logback:logback-classic" )
47
- testImplementation(" com.squareup.okhttp3:okhttp" )
48
47
testImplementation(" org.apache.tomcat.embed:tomcat-embed-core" )
49
48
testImplementation(" org.apache.groovy:groovy" )
50
49
testImplementation(" org.apache.groovy:groovy-xml" )
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ dependencies {
106
106
testImplementation(" com.jayway.jsonpath:json-path" )
107
107
testImplementation(" com.microsoft.sqlserver:mssql-jdbc" )
108
108
testImplementation(" com.mysql:mysql-connector-j" )
109
- testImplementation(" com.squareup.okhttp3:okhttp" )
110
109
testImplementation(" com.sun.xml.messaging.saaj:saaj-impl" )
111
110
testImplementation(" io.projectreactor:reactor-test" )
112
111
testImplementation(" io.r2dbc:r2dbc-h2" )
Original file line number Diff line number Diff line change @@ -78,14 +78,6 @@ void getOfReactorFactoryReturnsReactorFactory() {
78
78
assertThat (requestFactory ).isInstanceOf (ReactorClientHttpRequestFactory .class );
79
79
}
80
80
81
- @ Test
82
- void getOfOkHttpFactoryReturnsOkHttpFactory () {
83
- ClientHttpRequestFactory requestFactory = ClientHttpRequestFactories .get (
84
- org .springframework .http .client .OkHttp3ClientHttpRequestFactory .class ,
85
- ClientHttpRequestFactorySettings .DEFAULTS );
86
- assertThat (requestFactory ).isInstanceOf (org .springframework .http .client .OkHttp3ClientHttpRequestFactory .class );
87
- }
88
-
89
81
@ Test
90
82
void getOfJdkFactoryReturnsJdkFactory () {
91
83
ClientHttpRequestFactory requestFactory = ClientHttpRequestFactories .get (JdkClientHttpRequestFactory .class ,
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ dependencies {
9
9
implementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-web" ))
10
10
11
11
testImplementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-test" ))
12
- testImplementation(" com.squareup.okhttp3:mockwebserver:3.9.0 " )
12
+ testImplementation(" com.squareup.okhttp3:mockwebserver" )
13
13
}
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ dependencies {
9
9
implementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-webflux" ))
10
10
11
11
testImplementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-test" ))
12
- testImplementation(" com.squareup.okhttp3:mockwebserver:3.9.0 " )
12
+ testImplementation(" com.squareup.okhttp3:mockwebserver" )
13
13
}
You can’t perform that action at this time.
0 commit comments