[horde] horde-git test_framework PHP Fatal error

Jan Schneider jan at horde.org
Mon Sep 13 14:37:05 UTC 2010


Zitat von Gerard Breiner <gerard.breiner at ias.u-psud.fr>:

> Hello,
>
> My plateform is Horde-git (horde4) Debian Lenny.
>
> http://horde_server/test.php works very fine. All is ok.
> After that I want to run test_framework .
> php framework/bin/test_framework return :
>
> PHP Fatal error:  Class Horde_View_Helper_UrlTest_MockController  
> contains 1 abstract method and must therefore be declared abstract  
> or implement the remaining methods  
> (Horde_Controller::processRequest) in  
> /www/horde-git/framework/View/test/Horde/View/Helper/UrlTest.php on  
> line 131
>
> I added "abstract" at the begining of the line 131
> abstract class Horde_View_Helper_UrlTest_MockController extends  
> Horde_Controller_Base

Fixed.

> I run again php test_framework and get:
>
> PHP Strict Standards:  Declaration of Horde_Db_AllTests::main()  
> should be compatible with that of Horde_Test_AllTests::main() in  
> /www/horde-git/framework/Db/test/Horde/Db/AllTests.php on line 86

Fixed.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list