X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fexception%2FThrottledErrorTest.php;h=15f08966dc1a015f0a9e55bde32090c447db1846;hb=16ef3e79c4c52aa6b74563b7eadcfc9792e7a4c4;hp=23bb1e860162c22d8dd4036ced3fb2e2f7d8fa01;hpb=e3bd13db0c285f312e31bb1b7271af4628cca80c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/exception/ThrottledErrorTest.php b/tests/phpunit/includes/exception/ThrottledErrorTest.php index 23bb1e8601..15f08966dc 100644 --- a/tests/phpunit/includes/exception/ThrottledErrorTest.php +++ b/tests/phpunit/includes/exception/ThrottledErrorTest.php @@ -17,7 +17,7 @@ class ThrottledErrorTest extends MediaWikiTestCase { } private function getMockWgOut() { - $mock = $this->getMockBuilder( 'OutputPage' ) + $mock = $this->getMockBuilder( OutputPage::class ) ->disableOriginalConstructor() ->getMock(); $mock->expects( $this->once() )