projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5915831
)
add change to ACLPermissionTest.php from original pull request
author
sebalis
<sebalis@gmx.net>
Sat, 9 Sep 2023 01:19:13 +0000
(
03:19
+0200)
committer
sebalis
<sebalis@gmx.net>
Sat, 9 Sep 2023 01:19:13 +0000
(
03:19
+0200)
Co-authored-by: Seamus Lee <seamuslee001@gmail.com>
tests/phpunit/api/v3/ACLPermissionTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/ACLPermissionTest.php
b/tests/phpunit/api/v3/ACLPermissionTest.php
index 751f5984ae427f207ff51edca3749541c57e3ee5..582a0e860c913c45795515cea51bff14313e9369 100644
(file)
--- a/
tests/phpunit/api/v3/ACLPermissionTest.php
+++ b/
tests/phpunit/api/v3/ACLPermissionTest.php
@@
-1456,6
+1456,10
@@
class api_v3_ACLPermissionTest extends CiviUnitTestCase {
$this->assertCount(2, $contacts);
$this->assertEquals($contact2, $contacts[0]['id']);
$this->assertEquals($contact3, $contacts[1]['id']);
+ $groups = CRM_ACL_API::group(CRM_ACL_API::EDIT);
+ $this->assertFalse(in_array($excludeGroup, $groups));
+ Civi::cache('metadata')->clear();
+ Civi::$statics['CRM_ACL_BAO_ACL'] = [];
}
/**