X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fspecials%2FSpecialUncategorizedcategoriesTest.php;h=80bd365f35b6177170f502f218f822e1625f97be;hb=767042c3e68adb29513;hp=2ecef79bf1f0e72d0ea597743bc3a43405501a1c;hpb=58858df842f91d9ea1c9f9b6f3c767d8b204886b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/specials/SpecialUncategorizedcategoriesTest.php b/tests/phpunit/includes/specials/SpecialUncategorizedcategoriesTest.php index 2ecef79bf1..80bd365f35 100644 --- a/tests/phpunit/includes/specials/SpecialUncategorizedcategoriesTest.php +++ b/tests/phpunit/includes/specials/SpecialUncategorizedcategoriesTest.php @@ -9,7 +9,7 @@ class UncategorizedCategoriesPageTest extends MediaWikiTestCase { */ public function testGetQueryInfo( $msgContent, $expected ) { $msg = new RawMessage( $msgContent ); - $mockContext = $this->getMockBuilder( 'RequestContext' )->getMock(); + $mockContext = $this->getMockBuilder( RequestContext::class )->getMock(); $mockContext->method( 'msg' )->willReturn( $msg ); $special = new UncategorizedCategoriesPage(); $special->setContext( $mockContext );