+ /**
+ * Create an activity record for Francis with type "Meeting". Francis' email
+ * is misspelled and has bounced, so he should never receive an email reminder.
+ */
+ public function addFrancisMeeting() {
+ $this->callAPISuccess('Activity', 'create', [
+ 'source_contact_id' => $this->contacts['francis']['id'],
+ 'activity_type_id' => 'Meeting',
+ 'subject' => 'Subject for Francis',
+ 'activity_date_time' => date('Y-m-d H:i:s', strtotime($this->targetDate)),
+ 'status_id' => 2,
+ 'assignee_contact_id' => [$this->contacts['carol']['id']],
+ ]);
+ }
+