X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiOptionsTest.php;h=c0fecf06a1e6f1f8a18c387a2791337a4bd76010;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hp=7e45f4da123ce740876eb98f6204a8d915a915d9;hpb=2f15b22b91c0426b06e9ece9ffd2aa14fbdaa621;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiOptionsTest.php b/tests/phpunit/includes/api/ApiOptionsTest.php index 7e45f4da12..c0fecf06a1 100644 --- a/tests/phpunit/includes/api/ApiOptionsTest.php +++ b/tests/phpunit/includes/api/ApiOptionsTest.php @@ -22,7 +22,7 @@ class ApiOptionsTest extends MediaWikiLangTestCase { protected function setUp() { parent::setUp(); - $this->mUserMock = $this->getMockBuilder( 'User' ) + $this->mUserMock = $this->getMockBuilder( User::class ) ->disableOriginalConstructor() ->getMock();