Horde_Alarm is abstract now. Test still fails due to registry access.
authorJan Schneider <jan@horde.org>
Thu, 6 May 2010 17:23:50 +0000 (19:23 +0200)
committerJan Schneider <jan@horde.org>
Fri, 7 May 2010 11:28:38 +0000 (13:28 +0200)
framework/Notification/test/Horde/Notification/Class/Notification/Handler/Decorator/AlarmTest.php

index c103718..803eb23 100644 (file)
@@ -38,7 +38,7 @@ extends PHPUnit_Framework_TestCase
             $this->markTestSkipped('The Horde_Alarm package is not installed!');
         }
 
-        $this->alarm = $this->getMock('Horde_Alarm');
+        $this->alarm = $this->getMockForAbstractClass('Horde_Alarm');
         $this->alarm_handler = new Horde_Notification_Handler_Decorator_Alarm(
             $this->alarm, null
         );