X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fdb%2FLBFactoryTest.php;h=aed2d83a7d7f5b35f1e39bd5af2da0c865e0b954;hb=bcd377cd008f8a8628ab727c3fa90090725d6c10;hp=d72768d4349a21864eb2d05014e75027f46a0fcd;hpb=9304d175f9c7c0a4ad328ef6a6a8d87738447c4e;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/db/LBFactoryTest.php b/tests/phpunit/includes/db/LBFactoryTest.php index d72768d434..aed2d83a7d 100644 --- a/tests/phpunit/includes/db/LBFactoryTest.php +++ b/tests/phpunit/includes/db/LBFactoryTest.php @@ -43,7 +43,7 @@ class LBFactoryTest extends MediaWikiTestCase { ]; $this->hideDeprecated( '$wgLBFactoryConf must be updated. See RELEASE-NOTES for details' ); - $result = LBFactoryMW::getLBFactoryClass( $config ); + $result = MWLBFactory::getLBFactoryClass( $config ); $this->assertEquals( $expected, $result ); } @@ -270,7 +270,7 @@ class LBFactoryTest extends MediaWikiTestCase { ); unset( $db ); - /** @var DatabaseBase $db */ + /** @var Database $db */ $db = $lb->getConnection( DB_MASTER, [], '' ); $lb->reuseConnection( $db ); // don't care @@ -322,7 +322,7 @@ class LBFactoryTest extends MediaWikiTestCase { $factory = $this->newLBFactoryMulti( [ 'localDomain' => $dbname ], [ 'dbname' => $dbname ] ); $lb = $factory->getMainLB(); - /** @var DatabaseBase $db */ + /** @var Database $db */ $db = $lb->getConnection( DB_MASTER, [], '' ); $lb->reuseConnection( $db ); // don't care