X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fuser%2FLocalIdLookupTest.php;h=58441f095f552db0627427d9a0ae9397dc841cbb;hb=f186496005a47a09aed6d46feea7302fe9d5f0e2;hp=6ce01ca8859e05fd97ff110fde0dc5dca5c794f4;hpb=69286527352e8f7b59a4b78adc327b8336de9312;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/user/LocalIdLookupTest.php b/tests/phpunit/includes/user/LocalIdLookupTest.php index 6ce01ca885..58441f095f 100644 --- a/tests/phpunit/includes/user/LocalIdLookupTest.php +++ b/tests/phpunit/includes/user/LocalIdLookupTest.php @@ -124,9 +124,8 @@ class LocalIdLookupTest extends MediaWikiTestCase { * @param bool $localDBSet $wgLocalDatabases contains the shared DB */ public function testIsAttachedShared( $sharedDB, $sharedTable, $localDBSet ) { - global $wgDBName; $this->setMwGlobals( [ - 'wgSharedDB' => $sharedDB ? $wgDBName : null, + 'wgSharedDB' => $sharedDB ? "dummy" : null, 'wgSharedTables' => $sharedTable ? [ 'user' ] : [], 'wgLocalDatabases' => $localDBSet ? [ 'shared' ] : [], ] );