The affected passwords have been disabled in r75588
Follow up r72475,r74213.
Additionally give descriptive names to the users.
Also see the mail to wikitech.
static function setupUser() {
if ( self::$user == null || self::$sysopUser == null ) {
- self::$user = new UserWrapper( 'Useruser', 'Passpass' );
- self::$sysopUser = new UserWrapper( 'Useruser1', 'Passpass1', 'sysop' );
+ self::$user = new UserWrapper( 'User for MediaWiki automated tests', User::randomPassword() );
+ self::$sysopUser = new UserWrapper( 'Sysop for MediaWiki automated tests', User::randomPassword(), 'sysop' );
}
$GLOBALS['wgUser'] = self::$sysopUser->user;
$this->user->saveSettings();
}
}
+