From: Gunnar Wrobel Date: Thu, 8 Jul 2010 09:33:12 +0000 (+0200) Subject: The test setup needs to be removed later. Minor fixes to prevent failures. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=650c02d7086fa1ab6a19a3c7508acde330ae253d;p=horde.git The test setup needs to be removed later. Minor fixes to prevent failures. --- diff --git a/framework/Kolab_Filter/lib/Horde/Kolab/Test/Filter.php b/framework/Kolab_Filter/lib/Horde/Kolab/Test/Filter.php index c2e2f32cd..ca2be7e75 100644 --- a/framework/Kolab_Filter/lib/Horde/Kolab/Test/Filter.php +++ b/framework/Kolab_Filter/lib/Horde/Kolab/Test/Filter.php @@ -12,11 +12,6 @@ */ /** - * We need the unit test framework - */ -require_once 'Horde/Kolab/Test/Storage.php'; - -/** * Base for PHPUnit scenarios. * * Copyright 2008-2010 The Horde Project (http://www.horde.org/) @@ -30,7 +25,7 @@ require_once 'Horde/Kolab/Test/Storage.php'; * @license http://www.fsf.org/copyleft/lgpl.html LGPL * @link http://pear.horde.org/index.php?package=Kolab_Storage */ -class Horde_Kolab_Test_Filter extends Horde_Kolab_Test_Storage +class Horde_Kolab_Test_Filter { /** * Handle a "given" step. @@ -306,10 +301,10 @@ EOD; /* Setup the class */ if (empty($params['incoming'])) { require_once 'Horde/Kolab/Filter/Content.php'; - $parser = &new Horde_Kolab_Filter_Content(); + $parser = new Horde_Kolab_Filter_Content(); } else { require_once 'Horde/Kolab/Filter/Incoming.php'; - $parser = &new Horde_Kolab_Filter_Incoming(); + $parser = new Horde_Kolab_Filter_Incoming(); } ob_start();