[dev] PHPUnit 3.6 breaks unit tests

Michael M Slusarz slusarz at horde.org
Tue Nov 8 09:00:06 UTC 2011


Quoting Michael M Slusarz <slusarz at horde.org>:

> commit b0238d405280f40721d1811c4ffde68d5addb899
> Author: Michael M Slusarz <slusarz at horde.org>
> Date:   Tue Nov 8 01:51:43 2011 -0700
>
>     Without this require, PHPUnit 3.6 does not allow me to run any tests
>
>  framework/Mime/test/Horde/Mime/AllTests.php |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> http://git.horde.org/horde-git/-/commit/b0238d405280f40721d1811c4ffde68d5addb899

PHPUnit 3.6 is broken with our tests.  IMAP Client example:

slusarz at bigworm % php AllTests.php
PHP Fatal error:  Class 'Horde_Test_Case' not found in  
/disk2/src/horde/framework/Imap_Client/test/Horde/Imap/Client/UrlParseTest.php  
on line 32

Fatal error: Class 'Horde_Test_Case' not found in  
/disk2/src/horde/framework/Imap_Client/test/Horde/Imap/Client/UrlParseTest.php  
on line 32

Not sure if my fix above is the correct fix to apply to all other packages.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list