From: Gunnar Wrobel Date: Wed, 25 Aug 2010 19:15:58 +0000 (+0200) Subject: Do not use Horde_Date here as this introduces a dependency that we dont really need... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c0bc3a36ba275219ae8c55deeccfc12dbb2bc60b;p=horde.git Do not use Horde_Date here as this introduces a dependency that we dont really need to add. --- diff --git a/framework/Itip/test/Horde/Itip/Integration/ItipTest.php b/framework/Itip/test/Horde/Itip/Integration/ItipTest.php index 7f17f059c..e41e1c720 100644 --- a/framework/Itip/test/Horde/Itip/Integration/ItipTest.php +++ b/framework/Itip/test/Horde/Itip/Integration/ItipTest.php @@ -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; }