diff options
author | Alain Kermis <alain.kermis@sonarsource.com> | 2023-11-24 14:13:27 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-11-27 20:02:43 +0000 |
commit | 43a79ad065d2fc237f226d5e142219c4c41a9764 (patch) | |
tree | 9a0f7e82502a33f8424650d4fc0068272b671556 /server/sonar-webserver-api | |
parent | 3553484aeb016b1ab460a011734a689d10c9ce5f (diff) | |
download | sonarqube-43a79ad065d2fc237f226d5e142219c4c41a9764.tar.gz sonarqube-43a79ad065d2fc237f226d5e142219c4c41a9764.zip |
SONAR-21050 Normalization of rule tags to reduce ElasticSearch usage
Diffstat (limited to 'server/sonar-webserver-api')
-rw-r--r-- | server/sonar-webserver-api/src/it/java/org/sonar/server/rule/CachingRuleFinderIT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-api/src/it/java/org/sonar/server/rule/CachingRuleFinderIT.java b/server/sonar-webserver-api/src/it/java/org/sonar/server/rule/CachingRuleFinderIT.java index 5d0134b6f29..fdf6b776849 100644 --- a/server/sonar-webserver-api/src/it/java/org/sonar/server/rule/CachingRuleFinderIT.java +++ b/server/sonar-webserver-api/src/it/java/org/sonar/server/rule/CachingRuleFinderIT.java @@ -422,7 +422,7 @@ public class CachingRuleFinderIT { assertThat(rule.getUpdatedAt().getTime()).isEqualTo(ruleDto.getUpdatedAt()); assertThat(rule.getRepositoryKey()).isEqualTo(ruleDto.getRepositoryKey()); assertThat(rule.getSeverity().name()).isEqualTo(ruleDto.getSeverityString()); - assertThat(rule.getSystemTags()).isEqualTo(ruleDto.getSystemTags().toArray(new String[0])); + assertThat(rule.getSystemTags()).containsExactlyInAnyOrder(ruleDto.getSystemTags().toArray(new String[0])); assertThat(rule.getTags()).isEmpty(); assertThat(rule.getDescription()).isEqualTo(ruleDto.getDefaultRuleDescriptionSection().getContent()); |