From: Jan Schneider Date: Thu, 6 May 2010 17:23:50 +0000 (+0200) Subject: Horde_Alarm is abstract now. Test still fails due to registry access. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d2c5e65f6c270f7fdc302ea6fb20f5af76a4ce55;p=horde.git Horde_Alarm is abstract now. Test still fails due to registry access. --- diff --git a/framework/Notification/test/Horde/Notification/Class/Notification/Handler/Decorator/AlarmTest.php b/framework/Notification/test/Horde/Notification/Class/Notification/Handler/Decorator/AlarmTest.php index c103718cd..803eb23c1 100644 --- a/framework/Notification/test/Horde/Notification/Class/Notification/Handler/Decorator/AlarmTest.php +++ b/framework/Notification/test/Horde/Notification/Class/Notification/Handler/Decorator/AlarmTest.php @@ -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 );