X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fexception%2FThrottledErrorTest.php;h=15f08966dc1a015f0a9e55bde32090c447db1846;hb=2ab7ae9d24009f8cd7555cdbd15c9a852b1cc4db;hp=a1cf84bc553aa4e3ad8ffa6030556b28e5e6fccc;hpb=8c3738e088f377642c540a0ccddb01b16ba7116b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/exception/ThrottledErrorTest.php b/tests/phpunit/includes/exception/ThrottledErrorTest.php index a1cf84bc55..15f08966dc 100644 --- a/tests/phpunit/includes/exception/ThrottledErrorTest.php +++ b/tests/phpunit/includes/exception/ThrottledErrorTest.php @@ -2,7 +2,7 @@ /** * @covers ThrottledError - * @author Adam Shorland + * @author Addshore */ class ThrottledErrorTest extends MediaWikiTestCase { @@ -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() )