Index: trunk/phase3/tests/phpunit/includes/api/ApiQueryTest.php |
— | — | @@ -43,10 +43,6 @@ |
44 | 44 | } |
45 | 45 | |
46 | 46 | function testTitlesAreRejectedIfInvalid() { |
47 | | - |
48 | | - global $wgSitename; |
49 | | - |
50 | | - |
51 | 47 | $title = false; |
52 | 48 | while( !$title || Title::newFromText( $title )->exists() ) { |
53 | 49 | $title = md5( mt_rand( 0, 10000 ) + rand( 0, 999000 ) ); |