Merge branch '2013.03' into 2013.10
[tine20] / 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');