/** * * @return <type> */ function civicrm_activity_get_types() { // TODO: Spit out deprecation warning here return civicrm_activity_type_get(); }
/** * Test civicrm_activity_type_get() */ function testActivityTypeCheckValues() { $activitytypes =& civicrm_activity_type_get(); $this->assertEquals($activitytypes['1'], 'Meeting', 'In line ' . __LINE__); $this->assertEquals($activitytypes['13'], 'Open Case', 'In line ' . __LINE__); }