From 2966a5c3688074c4850085c5f85960db9cb03b5b Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 4 Jan 2023 15:24:56 +0100 Subject: [PATCH] NO-JIRA fix CustomDns unit test --- .../java/org/sonar/server/webhook/WebhookCustomDnsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCustomDnsTest.java b/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCustomDnsTest.java index 292144f03a9..cdd2828ce4c 100644 --- a/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCustomDnsTest.java +++ b/server/sonar-server-common/src/test/java/org/sonar/server/webhook/WebhookCustomDnsTest.java @@ -108,7 +108,7 @@ public class WebhookCustomDnsTest { when(networkInterfaceProvider.getNetworkInterfaceAddresses()) .thenThrow(new SocketException()); - Assertions.assertThatThrownBy(() -> underTest.lookup("good-url.com")) + Assertions.assertThatThrownBy(() -> underTest.lookup("sonarsource.com")) .hasMessageContaining("Network interfaces could not be fetched.") .isInstanceOf(IllegalArgumentException.class); } -- 2.39.5