From 37a29beb35cd1bafc3a0f574e213a3c3480615a2 Mon Sep 17 00:00:00 2001 From: Sophio Japharidze Date: Thu, 28 Nov 2024 11:42:14 +0100 Subject: [PATCH] SLVSCODE-912 update docs links to match rebranding --- .../sonarlint/ls/clientapi/SonarLintVSCodeClient.java | 2 +- .../sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClient.java b/src/main/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClient.java index 43edcea7a..0b2852eeb 100644 --- a/src/main/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClient.java +++ b/src/main/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClient.java @@ -304,7 +304,7 @@ public void noBindingSuggestionFound(NoBindingSuggestionFoundParams params) { client.showMessageRequest(messageRequestParams) .thenAccept(action -> { if (learnMoreAction.equals(action)) { - client.browseTo("https://docs.sonarsource.com/sonarlint/vs-code/troubleshooting/#troubleshooting-connected-mode-setup"); + client.browseTo("https://docs.sonarsource.com/sonarqube-for-ide/vs-code/troubleshooting/#troubleshooting-connected-mode-setup"); } }); } diff --git a/src/test/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java b/src/test/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java index eddef3b17..c8fe6ca32 100644 --- a/src/test/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java +++ b/src/test/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java @@ -543,7 +543,7 @@ void testNoBindingSuggestionFound() { underTest.noBindingSuggestionFound(new NoBindingSuggestionFoundParams(projectKey, false)); verify(client).showMessageRequest(messageRequestParams); - verify(client).browseTo("https://docs.sonarsource.com/sonarlint/vs-code/troubleshooting/#troubleshooting-connected-mode-setup"); + verify(client).browseTo("https://docs.sonarsource.com/sonarqube-for-ide/vs-code/troubleshooting/#troubleshooting-connected-mode-setup"); } @Test