File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
security/src/test/java/org/seedstack/seed/web/security
undertow/src/test/java/org/seedstack/seed/undertow Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 18
18
import java .security .KeyStore ;
19
19
import javax .inject .Inject ;
20
20
import javax .inject .Named ;
21
+ import org .apache .http .params .CoreConnectionPNames ;
21
22
import org .junit .After ;
22
23
import org .junit .Ignore ;
23
24
import org .junit .Test ;
@@ -117,7 +118,7 @@ private RequestSpecification givenRelaxedSSL() {
117
118
.config (RestAssured .config ()
118
119
.sslConfig (SSLConfig .sslConfig ().relaxedHTTPSValidation ("SSL" ))
119
120
.httpClient (HttpClientConfig .httpClientConfig ()
120
- .setParam (" CoreConnectionPNames.SO_TIMEOUT" , 1000 ))
121
+ .setParam (CoreConnectionPNames .SO_TIMEOUT , 1000 ))
121
122
);
122
123
}
123
124
}
Original file line number Diff line number Diff line change 13
13
import io .restassured .config .SSLConfig ;
14
14
import io .restassured .response .Response ;
15
15
import io .restassured .specification .RequestSpecification ;
16
+ import org .apache .http .params .CoreConnectionPNames ;
16
17
import org .junit .Test ;
17
18
import org .junit .runner .RunWith ;
18
19
import org .seedstack .seed .Configuration ;
@@ -108,7 +109,7 @@ private RequestSpecification givenRelaxedSSL() {
108
109
.config (RestAssured .config ()
109
110
.sslConfig (SSLConfig .sslConfig ().relaxedHTTPSValidation ("SSL" ))
110
111
.httpClient (HttpClientConfig .httpClientConfig ()
111
- .setParam (" CoreConnectionPNames.SO_TIMEOUT" , 1000 ))
112
+ .setParam (CoreConnectionPNames .SO_TIMEOUT , 1000 ))
112
113
);
113
114
}
114
115
}
Original file line number Diff line number Diff line change 12
12
import io .restassured .config .HttpClientConfig ;
13
13
import io .restassured .config .SSLConfig ;
14
14
import io .restassured .specification .ResponseSpecification ;
15
+ import org .apache .http .params .CoreConnectionPNames ;
15
16
import org .seedstack .seed .testing .ConfigurationProfiles ;
16
17
17
18
@ ConfigurationProfiles ("https" )
@@ -21,7 +22,7 @@ ResponseSpecification expect() {
21
22
.config (RestAssured .config ()
22
23
.sslConfig (SSLConfig .sslConfig ().relaxedHTTPSValidation ("SSL" ))
23
24
.httpClient (HttpClientConfig .httpClientConfig ()
24
- .setParam (" CoreConnectionPNames.SO_TIMEOUT" , 1000 ))
25
+ .setParam (CoreConnectionPNames .SO_TIMEOUT , 1000 ))
25
26
)
26
27
.expect ();
27
28
}
Original file line number Diff line number Diff line change 14
14
import io .restassured .config .SSLConfig ;
15
15
import io .restassured .response .Response ;
16
16
import io .restassured .specification .ResponseSpecification ;
17
+ import org .apache .http .params .CoreConnectionPNames ;
17
18
import org .assertj .core .api .Assertions ;
18
19
import org .junit .After ;
19
20
import org .junit .Before ;
@@ -64,7 +65,7 @@ private ResponseSpecification expect() {
64
65
.config (RestAssured .config ().sslConfig (SSLConfig
65
66
.sslConfig ().relaxedHTTPSValidation ("SSL" ))
66
67
.httpClient (HttpClientConfig .httpClientConfig ()
67
- .setParam (" CoreConnectionPNames.SO_TIMEOUT" , 1000 ))
68
+ .setParam (CoreConnectionPNames .SO_TIMEOUT , 1000 ))
68
69
)
69
70
.expect ();
70
71
}
You can’t perform that action at this time.
0 commit comments