Lines Matching refs:new_data

52     private $new_data;  variable in dokuwiki\\plugin\\structtasks\\test\\notifiers_plugin_structtasks_test
107 $new_data = [
123 $new_data2 = array_replace($new_data, ['duedate' => clone $new_data['duedate']]);
125 $all_but_editor = array_slice($new_data['assignees'], 0, -1);
134 AssignedNotifier::class, [$new_data['assignees'][0]],
135 $new_data, $old_data, 'assigned'
139 $new_data, $old_data, 'removed'
142 DateNotifier::class, $all_but_editor, $new_data,
147 array_replace($new_data, ['status' => 'Ongoing']),
152 ClosedStatusNotifier::class, $all_but_editor, $new_data,
157 array_replace($new_data, ['assignees' => $all_but_editor]),
166 AssignedNotifier::class, [], $new_data,
170 RemovedNotifier::class, [], $new_data,
174 DateNotifier::class, [], $new_data,
178 ClosedStatusNotifier::class, [], $new_data,
187 $new_data, 'self_removal'
192 array_replace($new_data, ['assignees' => $all_but_editor]),
196 DeletedNotifier::class, [], $new_data,
200 DeletedNotifier::class, [], $empty_data, $new_data, 'deleted'
203 AssignedNotifier::class, $all_but_editor, $new_data,
204 array_replace($new_data, ['content' => '']), 'assigned'
207 DateNotifier::class, [], $new_data,
208 array_replace($new_data, ['content' => '']), 'date'
211 ClosedStatusNotifier::class, [], $new_data,
212 array_replace($new_data, ['content' => '']), 'closedstatus'
216 array_replace($new_data, ['content' => '']), 'openstatus'
220 $empty_data, $new_data, 'removed'
227 DateNotifier::class, [], $empty_data, $new_data,
235 OpenStatusNotifier::class, [], $empty_data, $new_data,
246 array_replace($new_data, ['duedate' => $tomorrow]),
247 array_replace($new_data, ['duedate' => $tomorrow]),
268 array_replace($new_data, ['duedate' => $today]),
269 array_replace($new_data, ['duedate' => $today]),
286 OverdueNotifier::class, [], $new_data, $new_data, 'overdue'
306 public function testNotifiers($notifier, $recipients, $new_data, $old_data, $key) { argument
319 'STATUS' => $new_data['status'],
321 'DUEDATE' => $new_data['duedate_formatted'],
323 'DUEIN' => $notifier::dueIn($new_data['duedate']),
356 $new_data,
371 $new_data = ['content' => '', 'duedate' => date_create(''),
383 'STATUS' => $new_data['status'],
385 'DUEDATE' => $new_data['duedate_formatted'],
387 'DUEIN' => DeletedNotifier::dueIn($new_data['duedate']),
414 $new_data,