diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-06-20 10:00:40 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-06-20 10:00:40 +0200 |
commit | 2f49e919ce9455fdb10613334ed23ae0ae076e2e (patch) | |
tree | 0ea488e6f94fa18ef9b95c2456fe9bb6ac8488dd /plugins | |
parent | f19ac333658673a74a1a32d54ba8976e8bd0d770 (diff) | |
download | sonarqube-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.java | 2 |
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(); } |