* @package CiviCRM
*/
class CRM_Report_Form_TestCaseTest extends CiviReportTestCase {
- static $_tablesToTruncate = array(
+ protected $_tablesToTruncate = array(
'civicrm_contact',
'civicrm_email',
'civicrm_phone',
'civicrm_contribution',
);
+ /**
+ * @return array
+ */
public function dataProvider() {
$testCaseA = array(
'CRM_Report_Form_Contribute_Detail',
);
}
+ /**
+ * @return array
+ */
public function badDataProvider() {
return array(
// This test-case is bad because the dataset-ascii.sql does not match the
function setUp() {
parent::setUp();
$this->foreignKeyChecksOff();
- $this->quickCleanup(self::$_tablesToTruncate);
+ $this->quickCleanup($this->_tablesToTruncate);
}
function tearDown() {