r72250 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72249‎ | r72250 | r72251 >
Date:00:48, 3 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Actually does what r72249 claimed to do.
Modified paths:
  • /trunk/phase3/maintenance/tests/phpunit (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit
@@ -3,7 +3,7 @@
44
55 require( dirname( __FILE__ ) . '/../commandLine.inc' );
66 // XXX: This can go away if everyone switches to PHPUnit 3.5
7 -if ( file_exists( get_include_path() . '/PHPUnit/Autoload.php' ) ) {
 7+if ( file_get_contents( 'PHPUnit/Autoload.php', true ) !== false ) {
88 // Works for PHPUnit >= 3.5
99 require_once 'PHPUnit/Autoload.php';
1010 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r72251Fixing bad cpmmand to make phpunit work r72250pdhanda00:57, 3 September 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72249Fixed PHPUnit < 3.5 compatibiliy breaking change r72248, now we automatically...tparscal00:41, 3 September 2010

Status & tagging log