add missing comments - tests directory
[civicrm-core.git] / tests / phpunit / CRM / Report / Form / TestCaseTest.php
index cc57b45e806b22e349590551a8a5e40a7da4b7da..bf1c0f4f83797ffb047362fed065f48945aa5af4 100644 (file)
@@ -38,7 +38,7 @@ require_once 'CiviTest/CiviReportTestCase.php';
  * @package CiviCRM
  */
 class CRM_Report_Form_TestCaseTest extends CiviReportTestCase {
-  static $_tablesToTruncate = array(
+  protected $_tablesToTruncate = array(
     'civicrm_contact',
     'civicrm_email',
     'civicrm_phone',
@@ -46,6 +46,9 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase {
     'civicrm_contribution',
   );
 
+  /**
+   * @return array
+   */
   public function dataProvider() {
     $testCaseA = array(
       'CRM_Report_Form_Contribute_Detail',
@@ -77,6 +80,9 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase {
     );
   }
 
+  /**
+   * @return array
+   */
   public function badDataProvider() {
     return array(
       // This test-case is bad because the dataset-ascii.sql does not match the
@@ -126,7 +132,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase {
   function setUp() {
     parent::setUp();
     $this->foreignKeyChecksOff();
-    $this->quickCleanup(self::$_tablesToTruncate);
+    $this->quickCleanup($this->_tablesToTruncate);
   }
 
   function tearDown() {