9 protected function setUp() {
14 'newusers/newusers' => NewUsersLogFormatter::class,
15 'newusers/create' => NewUsersLogFormatter::class,
16 'newusers/create2' => NewUsersLogFormatter::class,
17 'newusers/byemail' => NewUsersLogFormatter::class,
18 'newusers/autocreate' => NewUsersLogFormatter::class,
33 'action' =>
'newusers',
34 'comment' =>
'newusers comment',
36 'user_text' =>
'New user',
38 'title' =>
'New user',
43 'text' =>
'User account New user was created',
69 'comment' =>
'newusers comment',
71 'user_text' =>
'New user',
73 'title' =>
'New user',
79 'text' =>
'User account New user was created',
105 'type' =>
'newusers',
106 'action' =>
'create2',
107 'comment' =>
'newusers comment',
109 'user_text' =>
'User',
114 'text' =>
'User account UTSysop was created by User'
125 $user = static::getTestSysop()->getUser();
126 $row[
'params'][
'4::userid'] = $user->getId();
127 $extra[
'api'][
'userid'] = $user->getId();
141 'type' =>
'newusers',
142 'action' =>
'byemail',
143 'comment' =>
'newusers comment',
145 'user_text' =>
'Sysop',
150 'text' =>
'User account UTSysop was created by Sysop and password was sent by email'
161 $user = static::getTestSysop()->getUser();
162 $row[
'params'][
'4::userid'] = $user->getId();
163 $extra[
'api'][
'userid'] = $user->getId();
177 'type' =>
'newusers',
178 'action' =>
'autocreate',
179 'comment' =>
'newusers comment',
181 'user_text' =>
'New user',
183 'title' =>
'New user',
189 'text' =>
'User account New user was created automatically',