From fbb0ea8cc6de8057b82ac842e1eadeaa13624ad3 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 1 Jun 2017 15:01:30 +0200 Subject: [PATCH] Fix false-positive in SupportPrivateProjectInDefaultPermissionTemplateTest --- .../SupportPrivateProjectInDefaultPermissionTemplateTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5