CRM-15148 make core ACL test incomplete as the security fix for CRM-14877 is not...
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 20 Aug 2014 22:19:04 +0000 (10:19 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 20 Aug 2014 22:19:04 +0000 (10:19 +1200)
tests/phpunit/api/v3/ACLPermissionTest.php

index 5d8331fb9160e4e4d3126e61e8770c156e718f1a..7085e029d4fd438d6ed368d1936c6b795d0fe7ac 100644 (file)
@@ -277,10 +277,10 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
    * @dataProvider entities
    * confirm that with check permissions we don't get entities
    */
-  function testEntitiesGetCoreACLLimitingHookCheck($entity) {
+  function testEntitiesGetCoreACLLimitingCheck($entity) {
+    $this->markTestIncomplete('this does not work in 4.4 but can be enabled in 4.5 or a security release of 4.4 including the important security fix CRM-14877');
     $this->setupCoreACL();
     $this->setUpEntities($entity);
-    $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookNoResults'));
     $result = $this->callAPISuccess($entity, 'get', array(
       'check_permissions' => 1,
       'return' => 'contact_id',