diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-02-03 10:57:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-02-03 10:57:43 +0100 |
commit | a4c28b8415bb7c4d6de88c1c730d1a93068173a8 (patch) | |
tree | 52d259320e348fa1e12792bf3cea0a355e16f44e /it/it-tests | |
parent | 4697cba0a16eefc950b2a66215ed8c4910f5a94b (diff) | |
download | sonarqube-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.java | 4 |
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); |