X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fsuites%2FParserTestTopLevelSuite.php;h=f318df1dd7b7ce05b28502402e178cc5c8a9c124;hb=74068ce880e245f84844bd78d49214994202441a;hp=28547d1f841c8aec9f842c46147efbf5463d2615;hpb=4c5a79089169a7ae63dc45382237067a9b62b1c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/suites/ParserTestTopLevelSuite.php b/tests/phpunit/suites/ParserTestTopLevelSuite.php index 28547d1f84..f318df1dd7 100644 --- a/tests/phpunit/suites/ParserTestTopLevelSuite.php +++ b/tests/phpunit/suites/ParserTestTopLevelSuite.php @@ -1,5 +1,6 @@ getDBLoadBalancer(); + $db = $lb->getConnection( DB_MASTER ); $type = $db->getType(); $prefix = $type === 'oracle' ? MediaWikiTestCase::ORA_DB_PREFIX : MediaWikiTestCase::DB_PREFIX;