aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-20 10:00:40 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-20 10:00:40 +0200
commit2f49e919ce9455fdb10613334ed23ae0ae076e2e (patch)
tree0ea488e6f94fa18ef9b95c2456fe9bb6ac8488dd /plugins
parentf19ac333658673a74a1a32d54ba8976e8bd0d770 (diff)
downloadsonarqube-2f49e919ce9455fdb10613334ed23ae0ae076e2e.tar.gz
sonarqube-2f49e919ce9455fdb10613334ed23ae0ae076e2e.zip
Fix UT
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/period/KeepOneFilterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/period/KeepOneFilterTest.java b/plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/period/KeepOneFilterTest.java
index 0af92d1a8ee..4a9ecd48ea8 100644
--- a/plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/period/KeepOneFilterTest.java
+++ b/plugins/sonar-dbcleaner-plugin/src/test/java/org/sonar/plugins/dbcleaner/period/KeepOneFilterTest.java
@@ -78,7 +78,7 @@ public class KeepOneFilterTest {
@Test
public void test_isDeletable() {
assertThat(KeepOneFilter.isDeletable(createSnapshotWithDate(1L, "2011-05-01"))).isTrue();
- assertThat(KeepOneFilter.isDeletable(createSnapshotWithDate(1L, "2011-05-01").setLast(true))).isTrue();
+ assertThat(KeepOneFilter.isDeletable(createSnapshotWithDate(1L, "2011-05-01").setLast(true))).isFalse();
assertThat(KeepOneFilter.isDeletable(createSnapshotWithDate(1L, "2011-05-01").setHasEvents(true))).isFalse();
}