ZF-2585: Remove code remnants and duplicate require statements
Description
The most part of unit test files requires TestCase.php and/or TestSuite.php files even if they have already been included by TestHelper.
These remnants should be removed.
require_once dirname(dirname(dirname(__FILE__))) . '/TestHelper.php';
require_once "PHPUnit/Framework/TestCase.php";
require_once "PHPUnit/Framework/TestSuite.php";
will become
require_once dirname(dirname(dirname(__FILE__))) . '/TestHelper.php';
Comments
Posted by Wil Sinclair (wil) on 2008-06-15T13:59:57.000+0000
Changing to comply with new IT coventions for components.
Posted by Marc Hodgins (mjh_ca) on 2010-11-27T00:32:05.000+0000
Patch attached which cleans this up.
Also attached the (.sh) script used to do this in case further modifications are necessary. To use the script, run it from the /trunk/tests directory.
Posted by Marc Hodgins (mjh_ca) on 2010-12-15T11:30:45.000+0000
Committed to trunk in r23513, merged to 1.11 release branch in r23514