Add @covers tags to specials tests
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialMIMESearchTest.php
index fe1c9e8..a845938 100644 (file)
@@ -3,6 +3,9 @@
  * @group Database
  */
 
+/**
+ * @covers MIMEsearchPage
+ */
 class SpecialMIMESearchTest extends MediaWikiTestCase {
 
        /** @var MIMEsearchPage */
@@ -37,12 +40,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 ],
+               ];
        }
 }