Do not use Horde_Date here as this introduces a dependency that we dont really need...
authorGunnar Wrobel <p@rdus.de>
Wed, 25 Aug 2010 19:15:58 +0000 (21:15 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 25 Aug 2010 19:15:58 +0000 (21:15 +0200)
framework/Itip/test/Horde/Itip/Integration/ItipTest.php

index 7f17f05..e41e1c7 100644 (file)
@@ -390,8 +390,6 @@ extends PHPUnit_Framework_TestCase
 
     private function _getInvitation()
     {
-        $start = new Horde_Date('20080926T110000');
-        $end = new Horde_Date('20080926T120000');
         $vCal = new Horde_Icalendar();
         $inv = Horde_Icalendar::newComponent('VEVENT', $vCal);
         $inv->setAttribute('METHOD', 'REQUEST');
@@ -400,8 +398,8 @@ extends PHPUnit_Framework_TestCase
         $inv->setAttribute('DESCRIPTION', 'You are invited');
         $inv->setAttribute('LOCATION', 'Somewhere');
         $inv->setAttribute('ORGANIZER', 'orga@example.org');
-        $inv->setAttribute('DTSTART', $start->timestamp());
-        $inv->setAttribute('DTEND', $end->timestamp());
+        $inv->setAttribute('DTSTART', 1222419600);
+        $inv->setAttribute('DTEND', 1222423200);
         return $inv;
     }