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 @@
45
45
"real_name" => "Test User" ) );
46
46
}
47
47
self::$user->setPassword( self::$passWord );
48
+ self::$user->addGroup( 'sysop' );
48
49
self::$user->saveSettings();
49
50
}
50
51
Status & tagging log
02:11, 3 October 2010
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r74118
[
removed:
new
added:
ok]