From: eileen Date: Wed, 27 Jan 2016 19:36:20 +0000 (+1300) Subject: Test fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=980fd8078649adb981fbeb5e79270cc470204e60;p=civicrm-core.git Test fix Change-Id: I37cdcb1eae7dba845c619400f95eef6ca63425b4 --- diff --git a/tests/phpunit/api/v3/EntityTagACLTest.php b/tests/phpunit/api/v3/EntityTagACLTest.php index 57873589d9..160b3db751 100644 --- a/tests/phpunit/api/v3/EntityTagACLTest.php +++ b/tests/phpunit/api/v3/EntityTagACLTest.php @@ -131,7 +131,7 @@ class api_v3_EntityTagACLTest extends CiviUnitTestCase { */ public function testThatForEntitiesEditAllContactsCanAddTags($entity) { - CRM_Core_Config::singleton()->userPermissionClass->permissions = array('edit all contacts'); + CRM_Core_Config::singleton()->userPermissionClass->permissions = array('edit all contacts', 'access CiviCRM'); $this->callAPISuccess('EntityTag', 'create', array( 'entity_id' => 1, 'tag_id' => $entity,