X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fspecials%2FSpecialMIMESearchTest.php;h=fe1c9e83b1c95cce988641cd52750b4a485766a5;hb=31d0a18d3efd13f025633df1cc5a5be7b058f9a3;hp=e7bb35c12631fcf4dfd15950500455323afcd172;hpb=79d908ef74ba0d222515cdce06d4ba4e70580a79;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/specials/SpecialMIMESearchTest.php b/tests/phpunit/includes/specials/SpecialMIMESearchTest.php index e7bb35c126..fe1c9e83b1 100644 --- a/tests/phpunit/includes/specials/SpecialMIMESearchTest.php +++ b/tests/phpunit/includes/specials/SpecialMIMESearchTest.php @@ -1,11 +1,15 @@ page = new MIMESearchPage; + $this->page = new MIMEsearchPage; $context = new RequestContext(); $context->setTitle( Title::makeTitle( NS_SPECIAL, 'MIMESearch' ) ); $context->setRequest( new FauxRequest() ); @@ -16,9 +20,9 @@ class SpecialMIMESearchTest extends MediaWikiTestCase { /** * @dataProvider providerMimeFiltering - * @param $par String subpage for special page - * @param $major String Major mime type we expect to look for - * @param $minor String Minor mime type we expect to look for + * @param string $par Subpage for special page + * @param string $major Major MIME type we expect to look for + * @param string $minor Minor MIME type we expect to look for */ function testMimeFiltering( $par, $major, $minor ) { $this->page->run( $par );