*/
class CiviReportTestCase extends CiviUnitTestCase {
- public function setUp() {
- parent::setUp();
- $this->_sethtmlGlobals();
- }
-
- public function tearDown() {
+ public function tearDown(): void {
// TODO Figure out how to automatically drop all temporary tables.
// Note that MySQL doesn't provide a way to list them, so we would need
// to keep track ourselves (eg CRM_Core_TemporaryTableManager) or reset
}
/**
- * @param $reportClass
+ * @param string $reportClass
* @param array $inputParams
*
- * @return array
+ * @return CRM_Report_Form
* @throws Exception
*/
public function getReportObject($reportClass, $inputParams) {