Issues

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

Changing to comply with new IT coventions for components.

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.

Committed to trunk in r23513, merged to 1.11 release branch in r23514