[horde] horde-git test_framework PHP Fatal error

Gerard Breiner gerard.breiner at ias.u-psud.fr
Tue Sep 14 09:01:55 UTC 2010


Many thanks Jan! However I ran again test_framework and got :
 
No configuration for mysql test
PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in
/www/horde-git/framework/Injector/test/Horde/Injector/Binder/ClosureTest.php
on line 14

Best regards

Gerard


-----Message d'origine-----
De : horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org] De
la part de Jan Schneider
Envoyé : lundi 13 septembre 2010 16:37
À : horde at lists.horde.org
Objet : Re: [horde] horde-git test_framework PHP Fatal error

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/

-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org



More information about the horde mailing list