From: Eileen McNaughton Date: Wed, 20 Aug 2014 22:19:04 +0000 (+1200) Subject: CRM-15148 make core ACL test incomplete as the security fix for CRM-14877 is not... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9730e9e378e278f416446a4dc22b7d4866ea2960;p=civicrm-core.git CRM-15148 make core ACL test incomplete as the security fix for CRM-14877 is not in 4.4 --- diff --git a/tests/phpunit/api/v3/ACLPermissionTest.php b/tests/phpunit/api/v3/ACLPermissionTest.php index 5d8331fb91..7085e029d4 100644 --- a/tests/phpunit/api/v3/ACLPermissionTest.php +++ b/tests/phpunit/api/v3/ACLPermissionTest.php @@ -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',