diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2020-11-16 11:07:50 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-11-25 20:06:26 +0000 |
commit | 2f2d8a0aa1ec28cdb1d644f1a55025b8028dcc7f (patch) | |
tree | bdcfb929cc6d31e1cffdb02c5578313580b58db9 /server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings | |
parent | c26bb74de0d1ee9a67c5ea884ac22195451d9a02 (diff) | |
download | sonarqube-2f2d8a0aa1ec28cdb1d644f1a55025b8028dcc7f.tar.gz sonarqube-2f2d8a0aa1ec28cdb1d644f1a55025b8028dcc7f.zip |
SONAR-14133 update get_binding changelog
Diffstat (limited to 'server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings')
-rw-r--r-- | server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java index c96265f75b7..331126c2ca5 100644 --- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java +++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java @@ -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) { |