Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiSetup.php |
— | — | @@ -33,8 +33,8 @@ |
34 | 34 | |
35 | 35 | static function setupUser() { |
36 | 36 | if ( self::$user == null || self::$sysopUser == null ) { |
37 | | - self::$user = new UserWrapper( 'Useruser', 'Passpass' ); |
38 | | - self::$sysopUser = new UserWrapper( 'Useruser1', 'Passpass1', 'sysop' ); |
| 37 | + self::$user = new UserWrapper( 'User for MediaWiki automated tests', User::randomPassword() ); |
| 38 | + self::$sysopUser = new UserWrapper( 'Sysop for MediaWiki automated tests', User::randomPassword(), 'sysop' ); |
39 | 39 | } |
40 | 40 | |
41 | 41 | $GLOBALS['wgUser'] = self::$sysopUser->user; |
— | — | @@ -67,3 +67,4 @@ |
68 | 68 | $this->user->saveSettings(); |
69 | 69 | } |
70 | 70 | } |
| 71 | + |