r74118 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74117‎ | r74118 | r74119 >
Date:22:32, 1 October 2010
Author:reedy
Status:ok
Tags:
Comment:
Make user 'sysop', so we get delete/protect token, makes testGetToken pass (maybe not the best fix.. Have 2 users..? Or check rights or something)
Modified paths:
  • /trunk/phase3/maintenance/tests/phpunit/includes/api/ApiSetup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiSetup.php
@@ -44,6 +44,7 @@
4545 "real_name" => "Test User" ) );
4646 }
4747 self::$user->setPassword( self::$passWord );
 48+ self::$user->addGroup( 'sysop' );
4849 self::$user->saveSettings();
4950 }
5051

Status & tagging log