215 [
'log_params' =>
'nanana' ]
218 $this->maintenance->loadWithArgv( [
'--sleep',
'0',
'--from-id', strval( $fromId ),
'-q' ] );
220 $this->maintenance->execute();
224 [
'log_type',
'log_action',
'log_user' ],
227 [
'ORDER BY' =>
'log_id' ]
231 'log_type' =>
'patrol',
232 'log_action' =>
'autopatrol',
233 'log_user' =>
'7254',
236 'log_type' =>
'patrol',
237 'log_action' =>
'autopatrol',
238 'log_user' =>
'7252',
241 $remainingLogs = array_map(
245 iterator_to_array( $remainingLogs,
false )
248 $this->assertNotContains( $deleted, $remainingLogs );
249 $this->assertContains( $notDeleted, $remainingLogs );