add missing comments - tests directory
[civicrm-core.git] / tests / phpunit / WebTest / Import / ContactCustomDataTest.php
index ae33f06ef332b556693234653a1a507b1c13e44f..b64f018ec0a2e8f96dc92a45e6f5a58512a4fe7e 100644 (file)
@@ -105,6 +105,12 @@ class WebTest_Import_ContactCustomDataTest extends ImportCiviSeleniumTestCase {
   /*
      *  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',
@@ -122,10 +128,18 @@ class WebTest_Import_ContactCustomDataTest extends ImportCiviSeleniumTestCase {
     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");