Lines Matching full:user
11 * Set up fake user environment with for the gieven user
13 * @param string $user
15 function helper_prepare_user($user = '1') { argument
24 'grps' => array('admin', 'user'),
31 'grps' => array('user'),
34 if(!isset($users[$user])) throw new RuntimeException('requested non-existing user');
38 $USERINFO = $users[$user];
40 $_SERVER['REMOTE_USER'] = $user;
47 // prepare user
55 $this->assertEquals('1', $meta['user'], 'Initial page has wrong user ID');
58 // first revision with numeric user
66 // second revision with alphabetic user
75 // third revision with the first user