aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-06-01 15:01:30 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-06-01 15:01:42 +0200
commitfbb0ea8cc6de8057b82ac842e1eadeaa13624ad3 (patch)
tree7b43cdcf338d13683db8bf9c18bac7468bf2659e
parentc9e073de799a5af40489ceae600e0c0f895e8c30 (diff)
downloadsonarqube-fbb0ea8cc6de8057b82ac842e1eadeaa13624ad3.tar.gz
sonarqube-fbb0ea8cc6de8057b82ac842e1eadeaa13624ad3.zip
Fix false-positive in SupportPrivateProjectInDefaultPermissionTemplateTest
-rw-r--r--server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java
index 24fd17e1120..639f8c37691 100644
--- a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java
+++ b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v64/SupportPrivateProjectInDefaultPermissionTemplateTest.java
@@ -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",