diff options
Diffstat (limited to 'server/sonar-db-dao/src/testFixtures')
-rw-r--r-- | server/sonar-db-dao/src/testFixtures/java/org/sonar/db/rule/RuleTesting.java | 3 |
1 files changed, 2 insertions, 1 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 c2a064c6a43..87e7ed0dde5 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,7 +118,8 @@ public class RuleTesting { .setAdHocType(RuleType.values()[nextInt(RuleType.values().length - 1)]) .setCreatedAt(currentTimeMillis) .setUpdatedAt(currentTimeMillis + 5) - .setScope(Scope.MAIN); + .setScope(Scope.MAIN) + .setGenericConcepts(Set.of(randomAlphanumeric(5), randomAlphanumeric(5))); } public static RuleParamDto newRuleParam(RuleDto rule) { |