*/
protected function getMockLocalisationCache() {
global $IP;
- $lc = $this->getMockBuilder( 'LocalisationCache' )
+ $lc = $this->getMockBuilder( \LocalisationCache::class )
->setConstructorArgs( [ [ 'store' => 'detect' ] ] )
->setMethods( [ 'getMessagesDirs' ] )
->getMock();
public function testRecacheFallbacksWithHooks() {
// Use hook to provide updates for messages. This is what the
- // LocalisationUpdate extension does. See bug 68781.
+ // LocalisationUpdate extension does. See T70781.
$this->mergeMwGlobalArrayValue( 'wgHooks', [
'LocalisationCacheRecacheFallback' => [
function (