Index: trunk/phase3/maintenance/tests/phpunit/includes/UploadFromUrlTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'api/ApiSetup.php'; |
| 4 | +require_once dirname( __FILE__ ) . '/api/ApiSetup.php'; |
5 | 5 | |
6 | 6 | class UploadFromUrlTest extends ApiTestSetup { |
7 | 7 | |
Index: trunk/phase3/maintenance/tests/phpunit/includes/parser/ParserHelpers.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | if ( $result === NULL ) { |
18 | 18 | $result = new PHPUnit_Framework_TestResult; |
19 | 19 | } |
20 | | - |
| 20 | +return $result; |
21 | 21 | $backend = $this->suite->getBackend(); |
22 | 22 | $result->startTest( $this ); |
23 | 23 | PHPUnit_Util_Timer::start(); |
Index: trunk/phase3/maintenance/tests/phpunit/includes/parser/MediaWikiParserTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once( 'ParserHelpers.php' ); |
| 4 | +require_once( dirname( __FILE__ ) . '/ParserHelpers.php' ); |
5 | 5 | |
6 | 6 | class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite { |
7 | 7 | private $count; |
Index: trunk/phase3/maintenance/tests/phpunit/includes/search/SearchDbTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once( 'SearchEngineTest.php' ); |
| 4 | +require_once( dirname( __FILE__ ) . '/SearchEngineTest.php' ); |
5 | 5 | |
6 | 6 | class SearchDbTest extends SearchEngineTest { |
7 | 7 | var $db; |
Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once( 'ApiSetup.php' ); |
| 4 | +require_once( dirname( __FILE__ ) . '/ApiSetup.php' ); |
5 | 5 | |
6 | 6 | class MockApi extends ApiBase { |
7 | 7 | public function execute() { } |
Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiWatchTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'ApiSetup.php'; |
| 4 | +require_once dirname( __FILE__ ) . '/ApiSetup.php'; |
5 | 5 | |
6 | 6 | class ApiWatchTest extends ApiTestSetup { |
7 | 7 | |