aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/it
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-11-17 15:18:49 +0100
committersonartech <sonartech@sonarsource.com>2023-11-28 20:02:42 +0000
commit87614500bffae2fc84f619b07808f56eeae58c9d (patch)
tree12a3e9b515f64fbf5e58255acb830c96c0208e87 /sonar-scanner-engine/src/it
parent982713f8d4749a7c9fa867e772e532069da2b186 (diff)
downloadsonarqube-87614500bffae2fc84f619b07808f56eeae58c9d.tar.gz
sonarqube-87614500bffae2fc84f619b07808f56eeae58c9d.zip
SONAR-21042 - Remove ES Rule index usage in Recently Added Rules and Scanner Engine
Diffstat (limited to 'sonar-scanner-engine/src/it')
-rw-r--r--sonar-scanner-engine/src/it/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/it/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java b/sonar-scanner-engine/src/it/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java
index ced4d750654..bf76e8117ba 100644
--- a/sonar-scanner-engine/src/it/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java
+++ b/sonar-scanner-engine/src/it/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java
@@ -80,7 +80,7 @@ import org.sonar.scanner.scan.branch.BranchType;
import org.sonar.scanner.scan.branch.ProjectBranches;
import org.sonarqube.ws.NewCodePeriods;
import org.sonarqube.ws.Qualityprofiles.SearchWsResponse.QualityProfile;
-import org.sonarqube.ws.Rules.ListResponse.Rule;
+import org.sonarqube.ws.Rules.Rule;
import static java.util.Collections.emptySet;
@@ -168,7 +168,7 @@ public class ScannerMediumTester extends ExternalResource {
public ScannerMediumTester addRule(String key, String repoKey, String internalKey, String name) {
Rule.Builder builder = Rule.newBuilder();
builder.setKey(key);
- builder.setRepository(repoKey);
+ builder.setRepo(repoKey);
if (internalKey != null) {
builder.setInternalKey(internalKey);
}