Skip to content

Commit 592df56

Browse files
committed
Fix the previous fix
1 parent b794d75 commit 592df56

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

web/security/src/test/java/org/seedstack/seed/web/security/WebSecurityIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.security.KeyStore;
1919
import javax.inject.Inject;
2020
import javax.inject.Named;
21+
import org.apache.http.params.CoreConnectionPNames;
2122
import org.junit.After;
2223
import org.junit.Ignore;
2324
import org.junit.Test;
@@ -117,7 +118,7 @@ private RequestSpecification givenRelaxedSSL() {
117118
.config(RestAssured.config()
118119
.sslConfig(SSLConfig.sslConfig().relaxedHTTPSValidation("SSL"))
119120
.httpClient(HttpClientConfig.httpClientConfig()
120-
.setParam("CoreConnectionPNames.SO_TIMEOUT", 1000))
121+
.setParam(CoreConnectionPNames.SO_TIMEOUT, 1000))
121122
);
122123
}
123124
}

web/security/src/test/java/org/seedstack/seed/web/security/XsrfIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import io.restassured.config.SSLConfig;
1414
import io.restassured.response.Response;
1515
import io.restassured.specification.RequestSpecification;
16+
import org.apache.http.params.CoreConnectionPNames;
1617
import org.junit.Test;
1718
import org.junit.runner.RunWith;
1819
import org.seedstack.seed.Configuration;
@@ -108,7 +109,7 @@ private RequestSpecification givenRelaxedSSL() {
108109
.config(RestAssured.config()
109110
.sslConfig(SSLConfig.sslConfig().relaxedHTTPSValidation("SSL"))
110111
.httpClient(HttpClientConfig.httpClientConfig()
111-
.setParam("CoreConnectionPNames.SO_TIMEOUT", 1000))
112+
.setParam(CoreConnectionPNames.SO_TIMEOUT, 1000))
112113
);
113114
}
114115
}

web/undertow/src/test/java/org/seedstack/seed/undertow/HttpsIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import io.restassured.config.HttpClientConfig;
1313
import io.restassured.config.SSLConfig;
1414
import io.restassured.specification.ResponseSpecification;
15+
import org.apache.http.params.CoreConnectionPNames;
1516
import org.seedstack.seed.testing.ConfigurationProfiles;
1617

1718
@ConfigurationProfiles("https")
@@ -21,7 +22,7 @@ ResponseSpecification expect() {
2122
.config(RestAssured.config()
2223
.sslConfig(SSLConfig.sslConfig().relaxedHTTPSValidation("SSL"))
2324
.httpClient(HttpClientConfig.httpClientConfig()
24-
.setParam("CoreConnectionPNames.SO_TIMEOUT", 1000))
25+
.setParam(CoreConnectionPNames.SO_TIMEOUT, 1000))
2526
)
2627
.expect();
2728
}

web/undertow/src/test/java/org/seedstack/seed/undertow/RefreshIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import io.restassured.config.SSLConfig;
1515
import io.restassured.response.Response;
1616
import io.restassured.specification.ResponseSpecification;
17+
import org.apache.http.params.CoreConnectionPNames;
1718
import org.assertj.core.api.Assertions;
1819
import org.junit.After;
1920
import org.junit.Before;
@@ -64,7 +65,7 @@ private ResponseSpecification expect() {
6465
.config(RestAssured.config().sslConfig(SSLConfig
6566
.sslConfig().relaxedHTTPSValidation("SSL"))
6667
.httpClient(HttpClientConfig.httpClientConfig()
67-
.setParam("CoreConnectionPNames.SO_TIMEOUT", 1000))
68+
.setParam(CoreConnectionPNames.SO_TIMEOUT, 1000))
6869
)
6970
.expect();
7071
}

0 commit comments

Comments
 (0)