diff options
author | Belen Pruvost <belen.pruvost@sonarsource.com> | 2022-07-06 16:55:00 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-07 20:03:10 +0000 |
commit | f8b052dd328e5348266764edca80b87249896a5b (patch) | |
tree | 49827fb100d862f9208de1b0fd09476f905017af /server/sonar-server-common | |
parent | 233c3c9320d8f22b75eb657dc58d7b1974f1478e (diff) | |
download | sonarqube-f8b052dd328e5348266764edca80b87249896a5b.tar.gz sonarqube-f8b052dd328e5348266764edca80b87249896a5b.zip |
[NO JIRA] Replace 'squid' with 'java'
Diffstat (limited to 'server/sonar-server-common')
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-server-common/src/test/java/org/sonar/server/issue/workflow/IssueWorkflowTest.java b/server/sonar-server-common/src/test/java/org/sonar/server/issue/workflow/IssueWorkflowTest.java index 5b544e53d35..02a9af9f1c1 100644 --- a/server/sonar-server-common/src/test/java/org/sonar/server/issue/workflow/IssueWorkflowTest.java +++ b/server/sonar-server-common/src/test/java/org/sonar/server/issue/workflow/IssueWorkflowTest.java @@ -397,7 +397,7 @@ public class IssueWorkflowTest { DefaultIssue issue = new DefaultIssue() .setKey("ABCDE") .setStatus(STATUS_OPEN) - .setRuleKey(RuleKey.of("squid", "AvoidCycle")) + .setRuleKey(RuleKey.of("java", "AvoidCycle")) .setAssigneeUuid("morgan"); underTest.start(); @@ -415,7 +415,7 @@ public class IssueWorkflowTest { DefaultIssue issue = new DefaultIssue() .setKey("ABCDE") .setStatus(STATUS_OPEN) - .setRuleKey(RuleKey.of("squid", "AvoidCycle")) + .setRuleKey(RuleKey.of("java", "AvoidCycle")) .setAssigneeUuid("morgan"); underTest.start(); diff --git a/server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java b/server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java index 1a9ddfb6ce8..aaf5e15f183 100644 --- a/server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java +++ b/server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java @@ -96,8 +96,8 @@ public class RuleIndexDefinitionTest { tester.putDocuments(TYPE_RULE, new RuleDoc(ImmutableMap.of( FIELD_RULE_UUID, "123", FIELD_RULE_HTML_DESCRIPTION, longText, - FIELD_RULE_REPOSITORY, "squid", - FIELD_RULE_KEY, "squid:S001"))); + FIELD_RULE_REPOSITORY, "java", + FIELD_RULE_KEY, "java:S001"))); assertThat(tester.countDocuments(TYPE_RULE)).isOne(); assertThat(tester.client().search(EsClient.prepareSearch(TYPE_RULE) .source(new SearchSourceBuilder() |