Fix re-delcare issue
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 28 May 2018 04:29:06 +0000 (14:29 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 28 May 2018 04:29:06 +0000 (14:29 +1000)
tests/phpunit/api/v3/ReportTemplateTest.php

index 20b757fdc04f5033d9897532243243022e1b9da7..2820cdcd190c635d57064970bf4c974a43363542 100644 (file)
@@ -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.
    *