Skip to content

Commit

Permalink
Merge pull request #12222 from seamuslee001/master
Browse files Browse the repository at this point in the history
Fix re-delcare issue
  • Loading branch information
eileenmcnaughton authored May 28, 2018
2 parents 346b352 + bb40804 commit 64d9f48
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 64d9f48

Please sign in to comment.