From: Sam Reed Date: Sat, 18 Sep 2010 09:32:13 +0000 (+0000) Subject: Comment out some unreachable code in a test due to explicit return; X-Git-Tag: 1.31.0-rc.0~34880 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=c9361d2883cdc2c22da8b94a16000fd19b6392a1;p=lhc%2Fweb%2Fwiklou.git Comment out some unreachable code in a test due to explicit return; --- diff --git a/maintenance/tests/phpunit/includes/UploadFromUrlTest.php b/maintenance/tests/phpunit/includes/UploadFromUrlTest.php index 9e67937372..e837d31a44 100644 --- a/maintenance/tests/phpunit/includes/UploadFromUrlTest.php +++ b/maintenance/tests/phpunit/includes/UploadFromUrlTest.php @@ -280,7 +280,8 @@ class UploadFromUrlTest extends ApiTestSetup { $this->assertFalse( $job ); return; - + + /** // Broken until using leavemessage with ignorewarnings is supported $job->run(); @@ -288,8 +289,7 @@ class UploadFromUrlTest extends ApiTestSetup { $talkRev = Revision::newFromTitle( $talk ); $this->assertTrue( $talkRev->getSize() > $talkSize, 'New message left' ); - - + */ } /**