From 0c8ff1bac53c2dfa89e7be014b64b411f24434c0 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 3 Feb 2022 12:10:18 +0100 Subject: SONAR-15919 add ruleset changes --- .../sonar/server/pushapi/sonarlint/SonarLintClientsRegistryTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/sonar-webserver-pushapi/src/test') 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 -- cgit v1.2.3