aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCallerImplTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCallerImplTest.java b/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCallerImplTest.java
index 43b1c7bda9c..1c5574a9996 100644
--- a/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCallerImplTest.java
+++ b/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCallerImplTest.java
@@ -250,7 +250,7 @@ public class WebhookCallerImplTest {
@Test
public void silently_catch_error_when_url_is_local_network_interface() throws Exception {
- String url = "https://192.168.1.21";
+ String url = "https://localhost";
InetAddress inetAddress = InetAddress.getByName(HttpUrl.parse(url).host());