From 980fd8078649adb981fbeb5e79270cc470204e60 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 28 Jan 2016 08:36:20 +1300 Subject: [PATCH] Test fix Change-Id: I37cdcb1eae7dba845c619400f95eef6ca63425b4 --- tests/phpunit/api/v3/EntityTagACLTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1