From 79eb9b5bdf736983a4970bee50f46cdfd8ddec2a Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 29 Dec 2010 15:08:29 +0000 Subject: [PATCH] Follow up r79173. Pass the parameters in the right order. --- tests/phpunit/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {} -- 2.20.1