Hrm, correct test. The last event should be exactly one week after the first.
authorGunnar Wrobel <p@rdus.de>
Mon, 9 Nov 2009 08:51:13 +0000 (09:51 +0100)
committerGunnar Wrobel <p@rdus.de>
Mon, 9 Nov 2009 08:51:13 +0000 (09:51 +0100)
framework/Date/test/Horde/Date/RecurrenceTest.php

index c3549d6..0342bdb 100644 (file)
@@ -148,7 +148,7 @@ class Horde_Date_RecurrenceTest extends PHPUnit_Framework_TestCase
         $this->assertEquals('FREQ=WEEKLY;INTERVAL=1;BYDAY=TH,SA;COUNT=3', $r->toRRule20($this->ical));
         $this->assertEquals(array('2007-03-01 10:00:00',
                                   '2007-03-03 10:00:00',
-                                  '2007-03-10 10:00:00',),
+                                  '2007-03-08 10:00:00',),
                             $this->_getRecurrences($r));
     }