No wonder that the check -added in r75265- Blah == User:Text never succeeded.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 27 Oct 2010 20:48:07 +0000 (20:48 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 27 Oct 2010 20:48:07 +0000 (20:48 +0000)
Changing to something useful.

maintenance/tests/phpunit/includes/SampleTest.php

index 59857d9..a9930eb 100644 (file)
@@ -44,7 +44,7 @@ class TestSample extends PHPUnit_Framework_TestCase {
                        array( 'Text', null, 'Text' ),
                        array( 'text', null, 'Text' ),
                        array( 'Text', NS_USER, 'User:Text' ),
-                       array( 'Text', NS_USER, 'Blah' )
+                       array( 'Photo.jpg', NS_IMAGE, 'File:Photo.jpg' )
                );
        }