])->execute()->first()['id'];
$this->ids['event'][0] = $this->eventCreate([
'description' => 'event description',
+ 'end_date' => 20081023,
+ 'registration_end_date' => 20081015,
$this->getCustomFieldName('text') => 'my field',
'loc_block_id' => $locationBlockID,
])['id'];
$this->ids['Contact']['participant'] = $params['contact_id'] = $this->individualCreate();
}
if (empty($params['event_id'])) {
- $event = $this->eventCreate();
+ $event = $this->eventCreate(['end_date' => 20081023, 'registration_end_date' => 20081015]);
$params['event_id'] = $event['id'];
}
$defaults = [
'event_type_id' => 1,
'is_public' => 1,
'start_date' => 20081021,
- 'end_date' => 20081023,
+ 'end_date' => '+ 1 month',
'is_online_registration' => 1,
'registration_start_date' => 20080601,
- 'registration_end_date' => 20081015,
+ 'registration_end_date' => '+ 1 month',
'max_participants' => 100,
'event_full_text' => 'Sorry! We are already full',
'is_monetary' => 0,