If these are not passing yet, they should be marked as incomplete.
authorGunnar Wrobel <p@rdus.de>
Mon, 12 Apr 2010 08:48:47 +0000 (10:48 +0200)
committerGunnar Wrobel <p@rdus.de>
Mon, 12 Apr 2010 08:48:47 +0000 (10:48 +0200)
framework/View/test/Horde/View/Helper/DateTest.php

index 00d4bb8..95bb4cf 100644 (file)
@@ -123,6 +123,13 @@ class Horde_View_Helper_DateTest extends Horde_Test_Case
                             $this->helper->distanceOfTimeInWords($from + (4*3600), $from));
         $this->assertEquals('less than 20 seconds',
                             $this->helper->distanceOfTimeInWords($from + 19, $from, true));
+    }
+
+    public function testDistanceInWordsWithIntegers()
+    {
+        $this->markTestIncomplete('not yet passing');
+
+        $from = mktime(21, 45, 0, 6, 6, 2004);
 
         // test with integers (not yet passing)
         $this->assertEquals('less than a minute',