aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/testFixtures
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2022-07-08 14:20:25 +0200
committersonartech <sonartech@sonarsource.com>2022-07-08 20:02:47 +0000
commit184bc0a3836db2cc3fd7ec312b15663db42a4923 (patch)
tree14c98f87b2c333974cb90ade71930484d892d7a5 /server/sonar-db-dao/src/testFixtures
parent0a047c1350ab811a0334b76112d3e6566fdcff2a (diff)
downloadsonarqube-184bc0a3836db2cc3fd7ec312b15663db42a4923.tar.gz
sonarqube-184bc0a3836db2cc3fd7ec312b15663db42a4923.zip
Revert "SONAR-16598 Add new generic concepts to rules/show and rules/search endpoints"
This reverts commit 31375405689110a07958f2c3be3f3b6d2a824e2b.
Diffstat (limited to 'server/sonar-db-dao/src/testFixtures')
-rw-r--r--server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java
index 87e7ed0dde5..c2a064c6a43 100644
--- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java
+++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java
@@ -118,8 +118,7 @@ public class RuleTesting {
.setAdHocType(RuleType.values()[nextInt(RuleType.values().length - 1)])
.setCreatedAt(currentTimeMillis)
.setUpdatedAt(currentTimeMillis + 5)
- .setScope(Scope.MAIN)
- .setGenericConcepts(Set.of(randomAlphanumeric(5), randomAlphanumeric(5)));
+ .setScope(Scope.MAIN);
}
public static RuleParamDto newRuleParam(RuleDto rule) {