RevisionTest: Make @covers tags absolute
[lhc/web/wiklou.git] / tests / phpunit / includes / LinkerTest.php
index 2ca5935..f4844f8 100644 (file)
@@ -265,7 +265,6 @@ class LinkerTest extends MediaWikiLangTestCase {
         * @dataProvider provideCasesForFormatLinksInComment
         */
        public function testFormatLinksInComment( $expected, $input, $wiki ) {
-
                $conf = new SiteConfiguration();
                $conf->settings = [
                        'wgServer' => [
@@ -307,6 +306,11 @@ class LinkerTest extends MediaWikiLangTestCase {
                                'foo bar [[Special:BlankPage]]',
                                'enwiki',
                        ],
+                       [
+                               'foo bar <a class="external" rel="nofollow" href="//en.example.org/w/File:Example">Image:Example</a>',
+                               'foo bar [[Image:Example]]',
+                               'enwiki',
+                       ],
                ];
                // @codingStandardsIgnoreEnd
        }