parent::setUp();
}
- /*
- * Test participant import for Individuals.
- */
+ /**
+ * Test participant import for Individuals.
+ */
function testParticipantImportIndividual() {
// Log in using webtestLogin() method
$this->webtestLogin();
$this->importCSVComponent('Event', $headers, $rows, 'Individual', 'Skip', $fieldMapper);
}
- /*
- * Test participant import for Organizations.
- */
+ /**
+ * Test participant import for Organizations.
+ */
function testParticipantImportOrganization() {
// Log in using webtestLogin() method
$this->webtestLogin();
$this->importCSVComponent('Event', $headers, $rows, 'Organization', 'Skip', $fieldMapper);
}
- /*
- * Test participant import for Households.
- */
+ /**
+ * Test participant import for Households.
+ */
function testParticipantImportHousehold() {
// Log in using webtestLogin() method
$this->webtestLogin();
$this->importCSVComponent('Event', $headers, $rows, 'Household', 'Skip', $fieldMapper);
}
- /*
- * Helper function to provide data for participant import for Individuals.
- */
/**
+ * Helper function to provide data for participant import for Individuals.
+ *
* @return array
*/
function _participantIndividualCSVData() {
return array($headers, $rows);
}
- /*
- * Helper function to provide data for participant import for Household.
- */
/**
+ * Helper function to provide data for participant import for Household.
+ *
* @return array
*/
function _participantHouseholdCSVData() {
return array($headers, $rows);
}
- /*
- * Helper function to provide data for participant import for Organization.
- */
/**
+ * Helper function to provide data for participant import for Organization.
* @return array
*/
function _participantOrganizationCSVData() {
return array($headers, $rows);
}
- /*
- * Helper function to add new event
- *
- * @params array $params parameters to create an event
- *
- * @return array $params event details of newly created event
- */
/**
- * @param array $params
+ * Helper function to add new event
*
- * @return array
+ * @param array $params parameters to create an event
+ *
+ * @return array $params event details of newly created event
*/
- function _addNewEvent($params = array(
- )) {
+ function _addNewEvent($params = array()) {
if (empty($params)) {