https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108336
Revision: 108336
Author: platonides
Date: 2012-01-07 23:26:35 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
Calls to editToken() that r103294 missed.
Modified Paths:
--------------
trunk/phase3/tests/phpunit/includes/upload/UploadFromUrlTest.php
Modified: trunk/phase3/tests/phpunit/includes/upload/UploadFromUrlTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/upload/UploadFromUrlTest.php
2012-01-07 23:23:29 UTC (rev 108335)
+++ trunk/phase3/tests/phpunit/includes/upload/UploadFromUrlTest.php
2012-01-07 23:26:35 UTC (rev 108336)
@@ -76,7 +76,7 @@
* @depends testClearQueue
*/
public function testSetupUrlDownload( $data ) {
- $token = $this->user->editToken();
+ $token = $this->user->getEditToken();
$exception = false;
try {
@@ -150,7 +150,7 @@
* @depends testClearQueue
*/
public function testAsyncUpload( $data ) {
- $token = $this->user->editToken();
+ $token = $this->user->getEditToken();
$this->user->addGroup( 'users' );
@@ -169,7 +169,7 @@
* @depends testClearQueue
*/
public function testAsyncUploadWarning( $data ) {
- $token = $this->user->editToken();
+ $token = $this->user->getEditToken();
$this->user->addGroup( 'users' );
@@ -200,7 +200,7 @@
* @depends testClearQueue
*/
public function testSyncDownload( $data ) {
- $token = $this->user->editToken();
+ $token = $this->user->getEditToken();
$job = Job::pop();
$this->assertFalse( $job, 'Starting with an empty jobqueue' );
@@ -224,7 +224,7 @@
}
public function testLeaveMessage() {
- $token = $this->user->user->editToken();
+ $token = $this->user->user->getEditToken();
$talk = $this->user->user->getTalkPage();
if ( $talk->exists() ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs