/*
* Helper function to provide data for custom data import.
*/
+ /**
+ * @param $customDataParams
+ * @param $firstName1
+ *
+ * @return array
+ */
function _individualCustomCSVData($customDataParams, $firstName1) {
$headers = array(
'first_name' => 'First Name',
return array($headers, $rows);
}
+ /**
+ * @param $originalHeaders
+ * @param $originalRows
+ * @param $checkSummary
+ */
function checkDuplicateContacts($originalHeaders, $originalRows, $checkSummary) {
$this->assertTrue($this->isTextPresent('CiviCRM has detected one record which is a duplicate of existing CiviCRM contact record. These records have not been imported.'));
}
+ /**
+ * @return array
+ */
function _addCustomData() {
$this->openCiviPage("admin/custom/group", "reset=1");