X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FReport%2FForm%2FTestCaseTest.php;h=bf1c0f4f83797ffb047362fed065f48945aa5af4;hb=4cbe18b880934fc136c432057b8612cefd988522;hp=373f36a3f97e95e83320db3203846d5318103307;hpb=2d71e99f321ded7a1424d32cbdbdcb03d4410f6e;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Report/Form/TestCaseTest.php b/tests/phpunit/CRM/Report/Form/TestCaseTest.php index 373f36a3f9..bf1c0f4f83 100644 --- a/tests/phpunit/CRM/Report/Form/TestCaseTest.php +++ b/tests/phpunit/CRM/Report/Form/TestCaseTest.php @@ -1,9 +1,9 @@ array( + 'sort_name', 'first_name', 'email', 'total_amount', @@ -76,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 @@ -84,6 +91,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase { 'CRM_Report_Form_Contribute_Detail', array( 'fields' => array( + 'sort_name', 'first_name', 'email', 'total_amount', @@ -104,6 +112,7 @@ class CRM_Report_Form_TestCaseTest extends CiviReportTestCase { 'CRM_Report_Form_Contribute_Detail', array( 'fields' => array( + 'sort_name', 'first_name', 'email', 'total_amount', @@ -123,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() {