aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-10-18 16:40:46 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-10-19 12:12:11 +0200
commit2844fa8ed7bdef7fba379a5264dd6c49ea82d2e1 (patch)
treef09fd747f8dcda7bbc00ae341d9d439f80d2a9f0 /tests
parent8cbb514261e2af99b4ee7f79a5c1210e1cee3714 (diff)
downloadsonarqube-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.java6
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