]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed query cache reset from unit test of acl. If this is needed, is bug in elgg...
authorcash <cash.costello@gmail.com>
Sat, 13 Apr 2013 17:36:56 +0000 (13:36 -0400)
committercash <cash.costello@gmail.com>
Sat, 13 Apr 2013 17:36:56 +0000 (13:36 -0400)
engine/tests/api/access_collections.php

index ebcd7d318da7971a71b6f7589414af355476ef38..4acfae596b4632e9f0d6f5361dc08c9dbf51860e 100644 (file)
@@ -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);