projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7678476
)
If these are not passing yet, they should be marked as incomplete.
author
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:48:47 +0000
(10:48 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:48:47 +0000
(10:48 +0200)
framework/View/test/Horde/View/Helper/DateTest.php
patch
|
blob
|
history
diff --git
a/framework/View/test/Horde/View/Helper/DateTest.php
b/framework/View/test/Horde/View/Helper/DateTest.php
index
00d4bb8
..
95bb4cf
100644
(file)
--- a/
framework/View/test/Horde/View/Helper/DateTest.php
+++ b/
framework/View/test/Horde/View/Helper/DateTest.php
@@
-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',