/** * Extend the setUp() function by assigning values for the event creation. * * @since 2.0.5 * @author Paul Hughes * @uses $postExampleSettings */ function setUp() { parent::setUp(); $this->postExampleSettings = array('post_author' => 3, 'post_content' => 'This is event content!', 'EventAllDay' => false, 'EventHideFromUpcoming' => true, 'EventOrganizerID' => 5, 'EventVenueID' => 8, 'EventShowMapLink' => true, 'EventShowMap' => true, 'EventStartDate' => '2012-01-01', 'EventEndDate' => '2012-01-03', 'EventStartHour' => '01', 'EventStartMinute' => '15', 'EventStartMeridian' => 'am', 'EventEndHour' => '03', 'EventEndMinute' => '25', 'EventEndMeridian' => 'pm'); }
/** * Add to the setUp() function the initialization of the plugin, when assignations take place. * * @since 2.0.5 * @author Paul Hughes */ public function setUp() { parent::setUp(); $tribe_ecp = TribeEvents::instance(); $tribe_ecp->init(); }