]> source.dussan.org Git - sonarqube.git/commitdiff
Fix faulty test
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 26 Nov 2014 13:55:55 +0000 (14:55 +0100)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 26 Nov 2014 13:55:55 +0000 (14:55 +0100)
server/sonar-server/src/test/java/org/sonar/server/ui/JRubyI18nTest.java

index f2b5921159ea5394189d10a63186452b1f58f287..b3c4a22177ccfeb6f7cb3a91408190a8d0539a2a 100644 (file)
@@ -83,7 +83,7 @@ public class JRubyI18nTest {
   @Test
   public void age_from_now() throws Exception {
     Date date = new Date();
-    jRubyI18n.ageFromNow(new Date());
+    jRubyI18n.ageFromNow(date);
     verify(i18n).ageFromNow(any(Locale.class), eq(date));
   }