Merge pull request #5596 from pratikshad/webtest2
[civicrm-core.git] / tests / phpunit / CiviTest / CiviDBAssert.php
index ff12960746175a26e09d70927c411ec8a3ea75ca..7c99c18a43e81a430b1a491fce17ddc15920f669 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -140,7 +140,7 @@ class CiviDBAssert {
   }
 
   /**
-   * Compare a single column value in a retrieved DB record to an expected value
+   * Compare a single column value in a retrieved DB record to an expected value.
    *
    * @param $testCase
    * @param string $daoName
@@ -150,7 +150,7 @@ class CiviDBAssert {
    * @param $expectedValue
    * @param string $message
    */
-  function assertDBCompareValue(
+  public function assertDBCompareValue(
     &$testCase, $daoName, $searchValue, $returnColumn, $searchColumn,
     $expectedValue, $message
   ) {
@@ -159,7 +159,7 @@ class CiviDBAssert {
   }
 
   /**
-   * Compare all values in a single retrieved DB record to an array of expected values
+   * Compare all values in a single retrieved DB record to an array of expected values.
    * @param $testCase
    * @param $daoName
    * @param $searchParams
@@ -189,4 +189,5 @@ class CiviDBAssert {
       }
     }
   }
+
 }