From: Platonides Date: Wed, 29 Dec 2010 15:08:29 +0000 (+0000) Subject: Follow up r79173. Pass the parameters in the right order. X-Git-Tag: 1.31.0-rc.0~33012 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=79eb9b5bdf736983a4970bee50f46cdfd8ddec2a;p=lhc%2Fweb%2Fwiklou.git Follow up r79173. Pass the parameters in the right order. --- diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php index 9ee4d47ed6..dca32f3d3b 100644 --- a/tests/phpunit/bootstrap.php +++ b/tests/phpunit/bootstrap.php @@ -79,7 +79,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { function needsDB() { $rc = new ReflectionClass( $this ); - return strpos( '@group Database', $rc->getDocComment() ) !== false; + return strpos( $rc->getDocComment(), '@group Database' ) !== false; } function addDBData() {}