Fixed HTTPSWebServerAuthTest broken in e687462

This commit is contained in:
Rsl1122 2018-04-06 11:10:52 +03:00
parent 979425409f
commit 6b73286c8f

View File

@ -106,7 +106,7 @@ public class HTTPSWebServerAuthTest {
*/ */
@Test @Test
public void testHTTPSAuthForPages() throws IOException, WebException, KeyManagementException, NoSuchAlgorithmException { public void testHTTPSAuthForPages() throws IOException, WebException, KeyManagementException, NoSuchAlgorithmException {
String address = "https://localhost:9000"; String address = "https://localhost:9005";
URL url = new URL(address); URL url = new URL(address);
HttpURLConnection connection = (HttpURLConnection) url.openConnection(); HttpURLConnection connection = (HttpURLConnection) url.openConnection();
if (address.startsWith("https")) { if (address.startsWith("https")) {