<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
parent::setUp();
}
- function testCustomDataImport() {
+ public function testCustomDataImport() {
$this->webtestLogin();
$firstName1 = 'Ma_' . substr(sha1(rand()), 0, 7);
* Helper function to provide data for custom data import.
*
* @param $customGroupTitle
- * @param $firstName1
- * @param $firstName2
+ * @param string $firstName1
+ * @param string $firstName2
* @param $id1
* @param $id2
*
* @return array
*/
- function _individualCustomCSVData($customGroupTitle, $firstName1, $firstName2, $id1, $id2) {
+ public function _individualCustomCSVData($customGroupTitle, $firstName1, $firstName2, $id1, $id2) {
list($customDataParams, $customDataVerify) = $this->_addCustomData($customGroupTitle, $id1, $id2);
$headers = array(
*
* @return array
*/
- function _addCustomData($customGroupTitle, $id1, $id2) {
+ public function _addCustomData($customGroupTitle, $id1, $id2) {
$this->openCiviPage("admin/custom/group", "reset=1");
return array($customDataParams, $customDataVerify);
}
}
-