The test setup needs to be removed later. Minor fixes to prevent failures.
authorGunnar Wrobel <p@rdus.de>
Thu, 8 Jul 2010 09:33:12 +0000 (11:33 +0200)
committerGunnar Wrobel <p@rdus.de>
Wed, 25 Aug 2010 17:21:35 +0000 (19:21 +0200)
framework/Kolab_Filter/lib/Horde/Kolab/Test/Filter.php

index c2e2f32..ca2be7e 100644 (file)
  */
 
 /**
- *  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();