ZF-1830: No such file, Zend/Json/AllTests.php, in Zend/AllTests.php

Description

zf/tests lcrouch$ phpunit AllTests.php

Warning: require_once(Zend/Json/AllTests.php): failed to open stream: No such file or directory in /Users/lcrouch/www/zf/tests/Zend/AllTests.php on line 74

Fatal error: require_once(): Failed opening required 'Zend/Json/AllTests.php' (include_path='/Users/lcrouch/www/zf/library:/Users/lcrouch/www/zf/tests:.:/Applications/xampp/xamppfiles/lib/php:/Applications/xampp/xamppfiles/lib/php/pear:/Users/lcrouch/www/zf/library:Users/lcrouch/www/zf/test') in /Users/lcrouch/www/zf/tests/Zend/AllTests.php on line 74

Comments

This patch changes the require from Zend/Json/AllTests.php to Zend/Json/JsonXMLTest.

It fixes the problem of not being able to run AllTests, but it might not be the best solution.

Here's the proposed code patch in a comment here for easy reading:

Index: tests/Zend/AllTests.php

--- tests/Zend/AllTests.php (revision 6038) +++ tests/Zend/AllTests.php (working copy) @@ -71,7 +71,7 @@ require_once 'Zend/VersionTest.php'; require_once 'Zend/ViewTest.php'; require_once 'Zend/XmlRpc/AllTests.php'; -require_once 'Zend/Json/AllTests.php'; +require_once 'Zend/Json/JsonXMLTest.php';

class Zend_AllTests

Assigning to [~matthew] to initiate issue review.

Resolved test configuration.