X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fcache%2FLocalisationCacheTest.php;h=42957b6084318979b484cfc489efbb7bed2bace3;hb=967a96e7fa5910f8fc451590decb381dbfb481ba;hp=5eed01cb2dafd80528772b2922a94fb4cdf32d79;hpb=10d1b7d12b5d097413cd507740c5c71781c2580b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/cache/LocalisationCacheTest.php b/tests/phpunit/includes/cache/LocalisationCacheTest.php index 5eed01cb2d..42957b6084 100644 --- a/tests/phpunit/includes/cache/LocalisationCacheTest.php +++ b/tests/phpunit/includes/cache/LocalisationCacheTest.php @@ -19,7 +19,7 @@ class LocalisationCacheTest extends MediaWikiTestCase { */ protected function getMockLocalisationCache() { global $IP; - $lc = $this->getMockBuilder( 'LocalisationCache' ) + $lc = $this->getMockBuilder( \LocalisationCache::class ) ->setConstructorArgs( [ [ 'store' => 'detect' ] ] ) ->setMethods( [ 'getMessagesDirs' ] ) ->getMock();