*/
class UploadStashTest extends MediaWikiTestCase {
/**
- * @var array Array of UploadStashTestUser
+ * @var TestUser[] Array of UploadStashTestUser
*/
public static $users;
* @todo give this test a real name explaining what is being tested here
*/
public function testBug29408() {
- $this->setMwGlobals( 'wgUser', self::$users['uploader']->user );
+ $this->setMwGlobals( 'wgUser', self::$users['uploader']->getUser() );
$repo = RepoGroup::singleton()->getLocalRepo();
$stash = new UploadStash( $repo );