aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-02-03 10:57:43 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-02-03 10:57:43 +0100
commita4c28b8415bb7c4d6de88c1c730d1a93068173a8 (patch)
tree52d259320e348fa1e12792bf3cea0a355e16f44e /it/it-tests
parent4697cba0a16eefc950b2a66215ed8c4910f5a94b (diff)
downloadsonarqube-a4c28b8415bb7c4d6de88c1c730d1a93068173a8.tar.gz
sonarqube-a4c28b8415bb7c4d6de88c1c730d1a93068173a8.zip
Fix HttpsTest
Diffstat (limited to 'it/it-tests')
-rw-r--r--it/it-tests/src/test/java/it/serverSystem/HttpsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/it/it-tests/src/test/java/it/serverSystem/HttpsTest.java b/it/it-tests/src/test/java/it/serverSystem/HttpsTest.java
index ebfc17ea6aa..b08cee741c4 100644
--- a/it/it-tests/src/test/java/it/serverSystem/HttpsTest.java
+++ b/it/it-tests/src/test/java/it/serverSystem/HttpsTest.java
@@ -123,7 +123,7 @@ public class HttpsTest {
}
private void connectTrusted() throws IOException {
- URL url = new URL("https://localhost:" + httpsPort + "/sonar");
+ URL url = new URL("https://localhost:" + httpsPort);
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
try {
connection.getInputStream();
@@ -162,7 +162,7 @@ public class HttpsTest {
return true;
}
};
- URL url = new URL("https://localhost:" + httpsPort + "/sonar/sessions/login");
+ URL url = new URL("https://localhost:" + httpsPort + "/sessions/login");
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
connection.setRequestMethod("POST");
connection.setAllowUserInteraction(true);