X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fexception%2FThrottledErrorTest.php;h=15f08966dc1a015f0a9e55bde32090c447db1846;hb=2ab7ae9d24009f8cd7555cdbd15c9a852b1cc4db;hp=23bb1e860162c22d8dd4036ced3fb2e2f7d8fa01;hpb=555ab7e23277652ff23af9cbb2189de76124f4bc;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() )