Follow-up from
a47a0396 this updates the tests to match the (ugh) form code
(that form code really belongs in a BAO which can be properly tested!)
// Create the repeating activity's schedule.
$actionScheduleParams = [
- 'title' => 'RepeatingActSchedule',
+ 'name' => 'repeat_civicrm_activity_' . $repeatingActivityBao->id,
'used_for' => 'civicrm_activity',
'entity_value' => $repeatingActivityBao->id,
'start_action_date' => $repeatingActivityBao->activity_date_time,
*/
private function createActionSchedule($entity_id, $entity_table) {
$params = [
- 'title' => 'My Reminder',
+ 'name' => 'repeat_' . $entity_table . '_' . $entity_id,
"used_for" => $entity_table,
"entity_value" => $entity_id,
"start_action_date" => date("YmdHis"),