Merge branch '2013.03' into 2013.10
authorPhilipp Schüle <p.schuele@metaways.de>
Wed, 30 Oct 2013 13:56:59 +0000 (14:56 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Wed, 30 Oct 2013 13:56:59 +0000 (14:56 +0100)
tests/tine20/Calendar/Controller/EventNotificationsTests.php

index 42bbfc4..f544109 100644 (file)
@@ -931,7 +931,7 @@ class Calendar_Controller_EventNotificationsTests extends Calendar_TestCase
         self::flushMailer();
         
         // make sure next occurence contains now
-        $event->dtstart = Tinebase_DateTime::now()->subMonth(1)->addDay(1);
+        $event->dtstart = Tinebase_DateTime::now()->subMonth(1)->addDay(1)->subHour(2);
         $event->dtend = clone $event->dtstart;
         $event->dtend->addMinute(60);
         $event->rrule = 'FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=' . $event->dtstart->format('d');