Index: trunk/phase3/tests/phpunit/includes/LanguageConverterTest.php |
— | — | @@ -61,8 +61,8 @@ |
62 | 62 | global $wgUser; |
63 | 63 | |
64 | 64 | $wgUser = new User; |
65 | | - $wgUser->setId( 1 ); |
66 | | - $wgUser->mFrom = 'defaults'; |
| 65 | + $wgUser->load(); // from 'defaults' |
| 66 | + $wgUser->mId = 1; |
67 | 67 | $wgUser->mDataLoaded = true; |
68 | 68 | $wgUser->mOptionsLoaded = true; |
69 | 69 | $wgUser->setOption( 'variant', 'tg-latn' ); |