diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-10-18 16:40:46 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk@users.noreply.github.com> | 2017-10-19 12:12:11 +0200 |
commit | 2844fa8ed7bdef7fba379a5264dd6c49ea82d2e1 (patch) | |
tree | f09fd747f8dcda7bbc00ae341d9d439f80d2a9f0 /tests | |
parent | 8cbb514261e2af99b4ee7f79a5c1210e1cee3714 (diff) | |
download | sonarqube-2844fa8ed7bdef7fba379a5264dd6c49ea82d2e1.tar.gz sonarqube-2844fa8ed7bdef7fba379a5264dd6c49ea82d2e1.zip |
SONAR-7309 Reorder DB Cleaner settings and replace snapshot by analysis
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/projectAdministration/ProjectAdministrationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/projectAdministration/ProjectAdministrationTest.java b/tests/src/test/java/org/sonarqube/tests/projectAdministration/ProjectAdministrationTest.java index b001176c914..b2f72b1017c 100644 --- a/tests/src/test/java/org/sonarqube/tests/projectAdministration/ProjectAdministrationTest.java +++ b/tests/src/test/java/org/sonarqube/tests/projectAdministration/ProjectAdministrationTest.java @@ -184,7 +184,7 @@ public class ProjectAdministrationTest { .assertMenuContains("DEV") .assertMenuContains("project-only") .assertMenuContains("Xoo") - .assertSettingDisplayed("sonar.dbcleaner.daysBeforeDeletingClosedIssues"); + .assertSettingDisplayed("sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay"); page.openCategory("project-only") .assertSettingDisplayed("prop_only_on_project"); @@ -193,8 +193,8 @@ public class ProjectAdministrationTest { .assertStringSettingValue("sonar.dbcleaner.daysBeforeDeletingClosedIssues", "30") .assertStringSettingValue("sonar.leak.period", "previous_version") .assertBooleanSettingValue("sonar.dbcleaner.cleanDirectory", true) - .setStringValue("sonar.dbcleaner.daysBeforeDeletingClosedIssues", "1") - .assertStringSettingValue("sonar.dbcleaner.daysBeforeDeletingClosedIssues", "1"); + .setStringValue("sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay", "48") + .assertStringSettingValue("sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay", "48"); } @Test |