Skip to content

Commit

Permalink
Fix re-delcare issue
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed May 28, 2018
1 parent 346b352 commit bb40804
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/phpunit/api/v3/ReportTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,27 +216,6 @@ public function testReportTemplateGetRowsAllReportsACL($reportID) {
));
}

/**
* Test api to get rows from reports with ACLs enabled.
*
* Checking for lack of fatal error at the moment.
*
* @dataProvider getReportTemplates
*
* @param $reportID
*
* @throws \PHPUnit_Framework_IncompleteTestError
*/
public function testReportTemplateGetRowsAllReportsACL($reportID) {
if (stristr($reportID, 'has existing issues')) {
$this->markTestIncomplete($reportID);
}
$this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookNoResults'));
$this->callAPISuccess('report_template', 'getrows', array(
'report_id' => $reportID,
));
}

/**
* Test get statistics.
*
Expand Down

0 comments on commit bb40804

Please sign in to comment.