]> source.dussan.org Git - sonarqube.git/commit
Fix FP in RuleIndexTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 5 Feb 2018 15:46:22 +0000 (16:46 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 5 Feb 2018 15:46:22 +0000 (16:46 +0100)
commitea77a805bfccb66c5943eb0bcaf36df3cb905227
treefd1f2f80fbb8c7967cca5f8410caf1ec1776b42f
parent2ee63dead2452afb3deaf7593b7b524d65dbca9f
Fix FP in RuleIndexTest

Rule language is generated with a random value. As language is used
by the search engine, the random value may match the request and
break the assertion.
server/sonar-server/src/test/java/org/sonar/server/rule/index/RuleIndexTest.java