Index: trunk/phase3/maintenance/tests/ApiSetup.php |
— | — | @@ -27,12 +27,10 @@ |
28 | 28 | self::$user = User::newFromName(self::$userName); |
29 | 29 | if ( !self::$user->getID() ) { |
30 | 30 | self::$user = User::createNew(self::$userName, array( |
31 | | - "password" => self::$passWord, |
32 | 31 | "email" => "test@example.com", |
33 | 32 | "real_name" => "Test User")); |
34 | | - } else { |
35 | | - self::$user->setPassword(self::$passWord); |
36 | 33 | } |
| 34 | + self::$user->setPassword(self::$passWord); |
37 | 35 | self::$user->saveSettings(); |
38 | 36 | } |
39 | 37 | } |