]> source.dussan.org Git - sonarqube.git/commitdiff
Fix false-positive in SupportPrivateProjectInDefaultPermissionTemplateTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 1 Jun 2017 13:01:30 +0000 (15:01 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 1 Jun 2017 13:01:42 +0000 (15:01 +0200)
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java

index 24fd17e1120b225f858162f9a48c96bbd72bb591..639f8c376915f611ff9dafd84d11b7535ed0b870 100644 (file)
@@ -251,7 +251,7 @@ public class SupportPrivateProjectInDefaultPermissionTemplateTest {
   }
 
   private IdAndUuid insertPermissionTemplate(String organizationUuid) {
-    String random = RandomStringUtils.random(20);
+    String random = RandomStringUtils.randomAscii(20);
     String uuid = "ptUuid" + random;
     db.executeInsert(
       "PERMISSION_TEMPLATES",