aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-02-28 13:12:24 +0100
committersonartech <sonartech@sonarsource.com>2020-03-06 20:04:32 +0000
commita91ea17d6efbbd6bd8e17a98c248000d0dd70c17 (patch)
tree303dc362d63515d0b27a67467f9384f610b7c3b5 /server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings
parent1c5db0e2fe3c69ecc21253f9378790ecea382567 (diff)
downloadsonarqube-a91ea17d6efbbd6bd8e17a98c248000d0dd70c17.tar.gz
sonarqube-a91ea17d6efbbd6bd8e17a98c248000d0dd70c17.zip
SONAR-13139 Add 'summaryCommentEnable' property to allow enable/disable of showing summary of analysis in discussion tab for GitHub
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.java3
1 files changed, 2 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 54a56f82afe..76b3c3cb0c1 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
@@ -64,7 +64,8 @@ public class AlmSettingsTesting {
return new ProjectAlmSettingDto()
.setAlmSettingUuid(githubAlmSetting.getUuid())
.setProjectUuid(project.getUuid())
- .setAlmRepo(randomAlphanumeric(256));
+ .setAlmRepo(randomAlphanumeric(256))
+ .setSummaryCommentEnabled(true);
}
static ProjectAlmSettingDto newGitlabProjectAlmSettingDto(AlmSettingDto gitlabAlmSetting, ProjectDto project) {