X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fspecials%2FSpecialMIMESearchTest.php;h=ede279174541043340c2577c02f071459338c9c1;hb=75cdcc94007dca953927b13db411aac94750b074;hp=14d196851aa5d9fbd3079334bb9e908dd8ab941f;hpb=d785664ff326c545b3bf10e48b8b39f8b2fb5402;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/specials/SpecialMIMESearchTest.php b/tests/phpunit/includes/specials/SpecialMIMESearchTest.php index 14d196851a..ede2791745 100644 --- a/tests/phpunit/includes/specials/SpecialMIMESearchTest.php +++ b/tests/phpunit/includes/specials/SpecialMIMESearchTest.php @@ -5,11 +5,11 @@ class SpecialMIMESearchTest extends MediaWikiTestCase { - /** @var MIMESearchPage */ + /** @var MIMEsearchPage */ private $page; function setUp() { - $this->page = new MIMESearchPage; + $this->page = new MIMEsearchPage; $context = new RequestContext(); $context->setTitle( Title::makeTitle( NS_SPECIAL, 'MIMESearch' ) ); $context->setRequest( new FauxRequest() ); @@ -37,12 +37,12 @@ class SpecialMIMESearchTest extends MediaWikiTestCase { } function providerMimeFiltering() { - return array( - array( 'image/gif', 'image', 'gif' ), - array( 'image/png', 'image', 'png' ), - array( 'application/pdf', 'application', 'pdf' ), - array( 'image/*', 'image', null ), - array( 'multipart/*', 'multipart', null ), - ); + return [ + [ 'image/gif', 'image', 'gif' ], + [ 'image/png', 'image', 'png' ], + [ 'application/pdf', 'application', 'pdf' ], + [ 'image/*', 'image', null ], + [ 'multipart/*', 'multipart', null ], + ]; } }