r73280 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73279‎ | r73280 | r73281 >
Date:09:32, 18 September 2010
Author:reedy
Status:ok
Tags:
Comment:
Comment out some unreachable code in a test due to explicit return;
Modified paths:
  • /trunk/phase3/maintenance/tests/phpunit/includes/UploadFromUrlTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/includes/UploadFromUrlTest.php
@@ -280,7 +280,8 @@
281281 $this->assertFalse( $job );
282282
283283 return;
284 -
 284+
 285+ /**
285286 // Broken until using leavemessage with ignorewarnings is supported
286287 $job->run();
287288
@@ -288,8 +289,7 @@
289290
290291 $talkRev = Revision::newFromTitle( $talk );
291292 $this->assertTrue( $talkRev->getSize() > $talkSize, 'New message left' );
292 -
293 -
 293+ */
294294 }
295295
296296 /**

Status & tagging log