From bb4080467bdc5ae8a7499d01f45b724bab917038 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 28 May 2018 14:29:06 +1000 Subject: [PATCH] Fix re-delcare issue --- tests/phpunit/api/v3/ReportTemplateTest.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 20b757fdc0..2820cdcd19 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -216,27 +216,6 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase { )); } - /** - * 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. * -- 2.25.1