aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-pushapi/src/test
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2022-02-03 12:10:18 +0100
committersonartech <sonartech@sonarsource.com>2022-02-18 15:48:04 +0000
commit0c8ff1bac53c2dfa89e7be014b64b411f24434c0 (patch)
treebcad0a2d4daafe106d82f7765be71fec146eb879 /server/sonar-webserver-pushapi/src/test
parent24cd8d71c3b6df3f33f1ff0232c83bbb0a9fc060 (diff)
downloadsonarqube-0c8ff1bac53c2dfa89e7be014b64b411f24434c0.tar.gz
sonarqube-0c8ff1bac53c2dfa89e7be014b64b411f24434c0.zip
SONAR-15919 add ruleset changes
Diffstat (limited to 'server/sonar-webserver-pushapi/src/test')
-rw-r--r--server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java
index 450245c13c0..49076199685 100644
--- a/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java
+++ b/server/sonar-webserver-pushapi/src/test/java/org/sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java
@@ -23,6 +23,7 @@ import java.util.Set;
import javax.servlet.AsyncContext;
import org.junit.Before;
import org.junit.Test;
+import org.sonar.server.qualityprofile.StandaloneRuleActivatorEventsDistributor;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
@@ -39,7 +40,7 @@ public class SonarLintClientsRegistryTest {
@Before
public void before() {
- underTest = new SonarLintClientsRegistry();
+ underTest = new SonarLintClientsRegistry(mock(StandaloneRuleActivatorEventsDistributor.class));
}
@Test