]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-14133 update get_binding changelog
authorPierre <pierre.guillot@sonarsource.com>
Mon, 16 Nov 2020 10:07:50 +0000 (11:07 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 25 Nov 2020 20:06:26 +0000 (20:06 +0000)
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java

index c96265f75b7af7aecdb70a4f7bb8b8c86d8118f0..331126c2ca5cad5ad4d8adda09a7b3d826abafcc 100644 (file)
@@ -79,7 +79,9 @@ public class AlmSettingsTesting {
   static ProjectAlmSettingDto newAzureProjectAlmSettingDto(AlmSettingDto azureAlmSetting, ProjectDto project) {
     return new ProjectAlmSettingDto()
       .setAlmSettingUuid(azureAlmSetting.getUuid())
-      .setProjectUuid(project.getUuid());
+      .setProjectUuid(project.getUuid())
+      .setAlmSlug(randomAlphanumeric(256))
+      .setAlmRepo(randomAlphanumeric(256));
   }
 
   public static ProjectAlmSettingDto newBitbucketProjectAlmSettingDto(AlmSettingDto githubAlmSetting, ProjectDto project) {