From: cash Date: Sat, 13 Apr 2013 17:36:56 +0000 (-0400) Subject: removed query cache reset from unit test of acl. If this is needed, is bug in elgg... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5dd3d179f43b47231dab5dab5d5d9482a9810ef7;p=lorea%2Felgg.git removed query cache reset from unit test of acl. If this is needed, is bug in elgg core --- diff --git a/engine/tests/api/access_collections.php b/engine/tests/api/access_collections.php index ebcd7d318..4acfae596 100644 --- a/engine/tests/api/access_collections.php +++ b/engine/tests/api/access_collections.php @@ -54,7 +54,6 @@ class ElggCoreAccessCollectionsTest extends ElggCoreUnitTest { } public function testCreateGetDeleteACL() { - global $DB_QUERY_CACHE; $acl_name = 'test access collection'; $acl_id = create_access_collection($acl_name); @@ -67,8 +66,6 @@ class ElggCoreAccessCollectionsTest extends ElggCoreUnitTest { $this->assertEqual($acl->id, $acl_id); if ($acl) { - $DB_QUERY_CACHE = array(); - $this->assertEqual($acl->name, $acl_name); $result = delete_access_collection($acl_id);