From c0bc3a36ba275219ae8c55deeccfc12dbb2bc60b Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Wed, 25 Aug 2010 21:15:58 +0200 Subject: [PATCH] Do not use Horde_Date here as this introduces a dependency that we dont really need to add. --- framework/Itip/test/Horde/Itip/Integration/ItipTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } -- 2.11.0